Available from April 18, 2022 until August 31, 2022

Course: CSE1110 Edition: 2021-2022

Enroll
One can enroll until Wed, Aug 31, 2022 23:29:00
About the Course
There is no description for this course set by the course staff (yet).
Latest Announcements

If you have PiTest errors in the domain testing exercise...

Some people get a PiTest error when they run “Analyse coverage”. This is usually caused by using a ParameterizedTest where the student reuses their Workshop objects in different test cases.

For example, if you have a workshop w1, and you run a test case with it, the spots of that workshop will be filled. Then if you run another test case with the same object w1, the spots of that workshop will already have been filled before the test even starts.

One solution is to create copies of these objects (say, w1a and w1b) and make sure to always pass a unique copy to every test case. Another solution is not to use parameterized tests for this assignment.

If you need help with this, feel free to ask us.

at Wed, Jul 13, 2022 10:55:11 updated at Wed, Jul 13, 2022 10:56:42

Feel free to change the date helper method

Feel free to change the date() helper method we give to you in the template of the domain testing! It can be useful to make it static if you are using parameterized tests, for example.

at Wed, Jul 13, 2022 09:38:56

Small change in the domain testing question

We made a small change in the library code of the domain testing exercise. The constructor of the Workshop now creates a local copy of the map it receives. This allows you to use things like Map.of(...) in your tests.

This is not a breaking change, so everything should still be working with your solution.

Thanks for the student that gave us the tip!

at Wed, Jul 13, 2022 09:26:23

View all announcements