How Cofactor works
The six things Cofactor is made of, application, sandbox, test, suite, run and issue, and how they fit together.
Cofactor has six main things: application, sandbox, test, suite, run and issue.
Look at your organization
-
Application. The product you test, usually one web app. Your code connects to an application.
bashcofactor application list
-
Sandbox. A live copy of your application with its own data, test logins and stand-ins for outside services. A sandbox is also called a test environment. You claim one, use it and throw it away. See Environments.
bashcofactor sandbox envs --application "<name from step 1>"
-
Test. One user journey written in plain language, like "sign in, open billing, change the plan." An agent plays that person in a real browser. A test is also called a flow. See End-to-end tests.
bashcofactor workflow list
-
Suite. A group of tests you run together, such as a smoke suite for every change.
cofactor test-suite suiteslists your suites, andcofactor test-suite executionslists their runs. See Suites and schedules.bashcofactor test-suite suites
-
Run. One execution of a test or suite. It keeps every step, assertion and screenshot, so you can see what happened.
bashcofactor workflow runs list <workflow id from step 3>
-
Issue. A problem Cofactor found, with its severity and a link to the run that shows it. See Issues.
bashcofactor issues list
Check it worked
You can name one application, one sandbox, one test and its last run from your own organization. If application list is empty, start with the Quickstart.
Go deeper
- Seed data and logins covers personas and seeds.
- Emulators covers stand-ins for outside services.
- Quickstart
- Command reference