A blueprint for developing with Fore.
'fore-project' lets you quickly get started with writing your own Fore pages and offers end-to-end testing with Cypress. A simple builtin http server allows quick development and testing.
When development is done the files from the 'src' directory can deployed 'as-is' to some webserver.
- a reasonably up-to-date nodejs installation on your machine
- Clone this repository to some folder on your harddrive
- change to the folder and run
npm i
to install the dependencies
Open a shell and execute
npm start
Starts the http dev server on http://localhost:8001 by default and opens a browser window
Have the http server running (see above)
Open a shell and execute
for running Cypress UI: npx cypress open
for running in console: npx cypress run
You can add tests manually to the folder 'cypress/e2e' or use the Cypress UI to create new ones.
The configuration comes with a pile of examples which you may delete if they confuse you but they are a good starter to lookup how things are done in Cypress.
There's a single hello.cy.js
right in 'cypress/e2e' as a starter.