I've never worked in a TDD shop and thus don't have a lot of experience with or people to go to for unit testing questions so I figured I'd ask all of you. I want to find the best way (least code/effort) to run a bunch of different tests with changing data and environment.
For example right now I have a test:
public void TestI32(Type inspectable, MemberInfo member) { Assert... }
I'd like to run this test with different arguments and have each test show up separately in a test result window or report.
I'd also like to repeat the tests from a 32bit and 64bit process. I recently discovered a bug that only showed up in unit tests and only because mstest runs tests under a 32bit process...
Also, I'm not tied to using mstest but visual studio Integration would be nice. In the future, easy integration with a build script / continuous integration would be nice too.
Aucun commentaire:
Enregistrer un commentaire