Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manoelcyreno/test-samples
https://github.com/manoelcyreno/test-samples
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/manoelcyreno/test-samples
- Owner: manoelcyreno
- Created: 2017-09-08T14:40:34.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-01-10T21:21:58.000Z (8 months ago)
- Last Synced: 2024-04-14T13:11:19.163Z (5 months ago)
- Language: JavaScript
- Size: 14.6 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Welcome to Tests Samples Framework.
## Functional Tests (Without BDD Samples):
1. Google Search [/src/functional/]
## Functional Tests (With BDD Samples):
1. Google Search [/src/bdd/resources/googleSearch.feature]
## Integration Samples (Integration Tests):
1. pending...
## Unit Samples (Unit Tests):
1. Notes from a student [src/test/java/unit/samples1]
2. Product Exchange [src/test/java/unit/samples2]## Java Script - Unit Test (Java Script Unit Tests):
1. Test Suite for verify something
2. Test Suite for verify using specific methods## How Run after step above?
### Run by line command into the root folder.
1. `PENDING` into the functional-tests-withoutBDD folder.
2. `PENDING` into the functional-tests folder.
3. `PENDING` into the integration-tests folder.
4. `gradle test` into the unit-tests folder.
5. For Java Script Tests :#### Using Karma Mocha:
1. Go to `src/js-unit-tests/mocha-karma`
2. Run `npm i`
3. Perform `npm run test` command to runOBS: node should be on version v10.24.1
#### 5.2 Using Jest:
1. Go to `src/js-unit-tests/jest`
2. Run `npm run clean` to remove any trash folder and install dependencies.
3. Perform `npm run test` command to runOBS: OBS: node should be on version v10.24.1
### Run by IDE - PENDING...
Configure your project according: (https://github.com/manoelcyreno/lfrgs-selenium-commons/wiki/Setup#how-to-use)
1. `runAllTests.java` into the src/functional/testsSuite folder.
2. `Test.java` into the src/functional/test folder.
3. `runTest.java` into the src/test/java/unit/samples(1 or 2) folder.