Code Monkey home page Code Monkey logo

camunda-engine-unittest's Introduction

camunda engine unit test template

This git repository contains a simple example of how to write a unit test for Camunda Platform. You can use it for reporting bugs or asking questions in the forums.

The project contains the following files:

src/
├── main
│   ├── java
│   └── resources
└── test
    ├── java
    │   └── org
    │       └── camunda
    │           └── bpm
    │               └── unittest
    │                   └── SimpleTestCase.java   (1)
    └── resources
        ├── camunda.cfg.xml                       (2)
        └── testProcess.bpmn                      (3)

Explanation:

  • (1) A java class containing a JUnit Test. It uses the ProcessEngineRule for bootstrapping the process engine, as well as camunda-bpm-assert to make your test life easier.
  • (2) Configuration file for the process engine.
  • (3) An example BPMN process.

Running the test with maven

In order to run the testsuite with maven you can say:

mvn clean test

Importing the project into eclipse.

If you use eclipse you can simply import the project by selecting `File / Import |-> Existing Maven Projects.

Contributing

Have a look at our contribution guide for how to contribute to this repository.

License

The source files in this repository are made available under the Apache License Version 2.0.

camunda-engine-unittest's People

Contributors

falko avatar hawky-4s- avatar ingorichtsmeier avatar martinschimak avatar mboskamp avatar menski avatar meyerdan avatar romansmirnov avatar stephenott avatar thorbenlindhauer avatar tmetzke avatar yanavasileva avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.