3 ms·
I always use (if the scenario is simple enough, which most are): @Test public void myTestMethod_Scenario_ShouldReturnThis() {....
by midasz 4y ago
I always use (if the scenario is simple enough, which most are):
@Test
public void myTestMethod_Scenario_ShouldReturnThis() {....
- geraldwhen 4y agoJest makes this far more straightforward. It(“throws when the object belongs to another user”) It(“does a business thing when thing is in state BLAH”)