Plum makes setting up your testing framework easy. In just a few seconds, you can run the scaffold tests and write your own tests!
By combining Playwright and Cucumber, tests are easy to write and read. The code follows a POM (Page Object Model) structure, making it scalable and easy for developers to understand, while Cucumber test cases are written in Gherkin format, making them accessible to non-developers as well.
You can view, run, and schedule tests in a simple UI. You can even view the history of your runs in the reports page!
Pre-requisite:
People that want to use Plum as a test environment for their website.
I. How to Run:
npm install -g plum-e2emkdir my-test-foldercd my-test-folderplum init\tests folder: This include sample test cases for SauceLabs.env file: Your starting .env file. You can set the BASE_URL to your own site after you're done with the scaffold tests.plum start to start the serverplum dev <@test-id>. If no test ID is included, it will run all testsAfter you run plum init, these files will be created inside your project directory.
ā ā tests ā ā ā features : Cucumber feature files, contains your test cases ā ā ā step_definitions : Reference to steps in the feature files ā ā ā pages : Contains functions used in step_definitions ā āā utils : Utility files (Constants, utility codes, etc.) āā env. : Your .env file
For people that want to contribute to the project
git clone https://github.com/silverlunah/plum.gitcd plumnpm run initdocker compose up --build -dPlum is completely free to use! But if you want to share some love, here's my PayPal or Wise