Bob
> --
> You received this message because you are subscribed to the Google Groups
> "mxunit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mxunit/-/_QXK4O0GKbkJ.
> To post to this group, send email to mxu...@googlegroups.com.
> To unsubscribe from this group, send email to
> mxunit+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/mxunit?hl=en.
--
Bob Silverberg
www.silverwareconsulting.com
Although I gotta say, a long running test case is a huge smell to me.
It sounds to me like you're perhaps doing way too much with the test.
I know, I know... it's easy to armchair quarterback this kind of
thing. Still... possibly there's like one core thing you need to test,
and you can adequately test it without running it with all those
permutations?
Marc
It does make sense, but I wonder if there's a way to do it that
doesn't take so long. If each operation takes 1/10th of a second, I
wonder if you can speed that up so that each operation only takes a
fraction of that time, by testing it in a different way. For example,
if you're passing in file paths, presumably something reads that file,
*does something*, and then asserts on the results. Can you test that
*does something* part -- whatever it is -- without needing to go
through all these permutations? Or perhaps without needing to read all
these files?
If not, another approach is, instead of breaking your files into 3
groups based just on a number, how about grouping them logically? Can
you break down the files into groups that more clearly express the
intention of that group of files?
For example, when I test passwords, I might have a "passwords that
should fail" list, a "passwords that should pass" list, and a
"passwords that should pass but fail due to being in the usser's
history" list. (just thinkign out loud here). Maybe you can group your
files similarly?
Marc
>
>
> db
>
> --
> You received this message because you are subscribed to the Google Groups
> "mxunit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/mxunit/-/CCDHw3biksQJ.