ability to test with assertions enabled?
Reported by Dominik | March 9th, 2010 @ 03:31 PM
Hi there,
it seems that infinitest is not marking errors when running the tests and hitting an assert in code that should throw an error, so something like this
assert myVar != null : "myVar can't be null";
where myVar obviously would be null. Is there a way to configure this somehow for eclipse to run the tests with assertions enabled?
Thanks
Dominik
Comments and changes to this ticket
-
benrady (at gmail) March 9th, 2010 @ 05:44 PM
The user guide:
http://improvingworks.com/products/infinitest/infinitest-user-guide/
describes how to set JVM options. You can use the -ea option:
http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/java.html
to enable assertions
-
benrady (at gmail) March 9th, 2010 @ 06:19 PM
- State changed from new to released
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Continuous Test Runner for Java