Open JDCain opened 5 years ago
Hi, dependency ordering is the only right solution I am just working on (vnext). Ordering is weak workaround. If you want to, make a push request or just send me the code, I can incorporate it into solution if it is complete solution.
I'll fork and do a pull request then. I just wanted to check if it was useful before doing the work.
It's the only right solution for the problem. I was coding before thinking and currently I have not enough time to code this myself :-) Ordering is bad practice even in integration scenarios. All what one needs (in some marginal cases when asm, collection, class fixtures are not enough) by doing integration testing with unit test framework is dependency tracking. Btw. you can start with vnext branch. There is e.g. separated test case orderer (more clean code). I can help you later - with code, code review. Feel free to use any code even if you decide to create separeted/own repo or nuget to be more motivated ;-). You decided to code right thing.
@tomaszeman I did not see this message until after the pull request. #2 Let me know if you want me to close it and put it into the other branch.
Good job J.D. Sent you invite ... Will look deeper later (try to run one test case from test explorer if all deps are executed I am not sure if this works)....
bcs. this is the tricky part of solution....I thing will need to rewrite discoverer first...
This was merged in, so closing.
Are you interested in adding Run Time Ordering to the project? I already have code for doing topological ordering of tests inside a class.