Hi guys, I have been working on a personal website application over the last few months. I wanted to ask about Javascript unit and integration testing. What is the standard in the industry in 2019 for automated tests targeting Javascript? Is it worth...
JRJomanWilland and 1 more commentedWe've our Rest API server built on NodeJS and we've started to implement "test". Our app consists of a lot of DB calls (mostly using ORM), API calls to FB and other 3rd party services, Message queue etc. We started implementing Unit tests. However, ...
CGBLCVishwa and 4 more commentedLet's say you have a method like (Java): private @Nonnull Optional<Thing> findByIdentifier(Integer thingIdentifier) { // More logic here return Optional.of(new Thing()); } There are two assumptions: thingIdentifier is a valid number (not nul...
SCCMatthew and 2 more commentedWe have an application that leverages 3rd party API's (in our instance Hubspot) to run logic on the data. As I'm building out Unit Tests for internal methods, the internal methods have a clear "expected" assertion "reality" type of tests where we exp...
AAtul commented