LambdaFactory / Neptune-public

Repository for Neptune questions and issues
https://gumroad.com/l/NeptunePlugin
Other
26 stars 0 forks source link

[Detection] [Expecto] No tests listed when the test list is dynamically generated #2

Open baronfel opened 6 years ago

baronfel commented 6 years ago

The test explorer lists groups correctly but doesn't seem to list tests that are dynamic, that is when the exact listing is derived from some other data source. In the case I'm looking at, we have a list of files and we turn each file into a test.

Running the --list-tests command on the test executable does list every test in these testlists, but the neptune doesn't report the children:

{
 "Name":"SCRUBBED",
 "Range": {
  "StartColumn":5,
  "StartLine":60,
  "EndColumn":38,
  "EndLine":60
 },
 "Childs":[],
 "Id":1,
 "List":true,
 "Type":"Expecto"
}

Environment: Mono Expecto: 5.0 Framework: net462