/sentinel-example

Example usage of Sentinel Automated Security Testing framework

Primary LanguageGherkinApache License 2.0Apache-2.0

Sentinel AST Example

Running Tests

npm run start-services
npm run test
npm run stop-services

Scenarios

You can add any cucumber cli args like so:

npm run test -- <cucumber-args>

If you want to run a specific test or feature:

npm run test -- ./path/to/file.feature:3

If you have your own containers/services to run:

npm run start-services -- --yaml ./path/to/docker-compose.yml

Sentinel

npm install -g sentinel-ast

Command Line Help:

sentinel --help

Run Docker Compose Commands:

sentinel run-compose <docker-compose-action> <docker-compose-args>

Read service logs:

sentinel run-compose logs zap