The challenge
SaQus is a software development services company. Its two developers worked across JavaScript, Angular, Node and AWS, and one of them lacked UI skills.
Weekly or bi-weekly releases kept repeating the same defects, such as currency field validation and inconsistent styling. The team had no end-to-end or integration tests, faced a hard go-live in May and had poor results with past vendors.
What we did
Assessed the code first
We started with a code assessment and reviewed it with SaQus before the engagement began.
Trained the team
We ran sessions on automated testing, component-driven architecture, Angular forms and validation, NgRx, Angular Material and Prettier.
Added automated tests
We added Cypress end-to-end tests with page objects, commands and fixtures, added Jest, and wrote integration tests on core logic.
Refactored shared components
We refactored common submission components to the container and presenter pattern.
Built reusable components
We built a reusable search and filter table, a datepicker, custom theming and a new shared library of form input components.
The impact
What changed for the business.
Near-full test coverage
Integration tests reached 98 to 100% code coverage on the manage-users and users areas, where there had been none before.
Shared form components
The team gained a shared component library with form input components.
Cleaner component structure
Common submission components now follow the container and presenter pattern.
Reference code to build on
We left reference code, resources and lesson plans for the team to keep using.