-
Notifications
You must be signed in to change notification settings - Fork 0
09 ‐ Quality
Gherkin syntax for all tests purposes - unit, integration and e2e.
Everything must be written be using BDD concepts (ubiquitous language).
SMTC- Social Makers Test Cases
.NET files should follow:
/SUT/{section-name}.cs
inside a project with {domain}.Integration
or {domain}.Unit
Angular files should follow:
{component-name}.SMTC{NUMBER}.spec.ts
inside same folder of what we're testing.
{component-name}.SMTC{NUMBER}.cy.ts
inside same folder of what we're testing (integration or e2e purposes).
Consider for unit and integration tests.
Consider only for end to end with integration concepts - must have local angular project running on port 4200.
Main project and library used for unit and integration tests.
Consider for stub, fake, mock, spy....even this library distorce the meaning of it all.
Everything should be executed on its project folder
ng test --browsers ChromeHeadless
npx cypress run --headless
dotnet test
Due to conflit of couple libraries, perform an action to use Visual Studio Code.
It's necessary to write test codes (unit, integration and end).