Clicking "Run selected test" causes running all of the tests when all checkboxes are unchecked
Clicking "Run selected tests" results in running all of the tests...
When user selects any of the ckeckboxes the behaviour is correct.
Comments (4)
-
repo owner -
reporter @sglienke I suppose...
Setup
https://gist.github.com/Pawe1/1925f7b61921a4aab5427334e2b0c825
I included my version of
TestInsight.Client
with commented out line427
- I had to do this to run test. IMO it doesn't affect this case.Case
-
Start fresh IDE instance & show TestInsight Explorer:
-
Click "Run selected tests" as is
-
Result:
Reproduction rate: 100%
-
-
repo owner - changed status to invalid
Don't create the TTestInsightRestClient yourself to see if the server is running and don't just call some methods on it.
There is some internal state in the TI server that resets some value after calling GetOptions which is needed to properly behave when running from the TI plugin or when debugging. If you create the client yourself it calls GetOptions in its ctor and thus resets this state causing the tests to be executed.
-
reporter This code is based directly on Wiki entry
It's purpose was to run tests whether TestInsight is running or not (inside runner or GUI- when executing it without IDE)
- Log in to comment
Are you sure you are using 1.1.5? Even there when no test was selected it did skip them all. If you modified any of the client source however that might have changed the behavior, make sure this is not the case.