Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

Latest commit

 

History

History
59 lines (39 loc) · 2.28 KB

GETTING_STARTED.md

File metadata and controls

59 lines (39 loc) · 2.28 KB

Getting Started

Everything you need to run the app and start coding.

Summary

How to run

Run in local-dev mode

To launch Chutney in local-dev mode, use

How to code

Prerequisites

  • Maven - version 3.3 or higher - Java dependency management
  • Node - version 12.16.2 or higher - JavaScript runtime
  • [Npm] (https://www.npmjs.com/) - version 6.14.4 or higher - JavaScript package manager

If you use direnv and nix packages manager, we provide 2 files for the ui module : .env.nix and .envrc.

Upon running direnv allow inside ui module folder, it will install node, npm, and some usefull symlinks you can use for configuring IDE or other tools.

You can use a Javascript launcher such as Volta to take care of Node and Npm by using the additional command line property: -DuseExternalNpm=true

Installing

git clone
mvn install or mvn install -DuseExternalNpm=true
Main class : com.chutneytesting.ServerBootstrap

Modules

  • engine: Execution engine which sole responsibility is to execute scenarios and provide a report for each execution
  • packaging: default packaging used to start Chutney
  • server: Main module that
    • Back-end for front-end
    • Store scenarios (json), execution report and campaigns in jdbc database
    • Store in files target and environment information
    • Send scenarios to the execution engine and retrieve reports
  • action-impl: Default implementation of task (Sql, Http, Jms,...)
  • action-spi: Contains interfaces to extend the engine
  • tools: Utility class with no dependency
  • ui : front-end of Chutney

Running the tests