Giter Site home page Giter Site logo

libgdx-with-cucumber's Introduction

libGDX-with-cucumber

A raw libGDX maven project with cucumber set up

for information, help, documentation and the latest version of libGDX please visit their awesome homepage: http://www.libgdx.com

You can take everything I created and do what it what you like to. For further information take a loot at the licenses of the projects this is built on. (libGDX is under Apache 2.0)

Requirements

The only thing you'll need is maven 3.x

Steps to Take

  1. Fork / Copy it
  2. rename YourGame-Classes (one in each subproject) and "yourgame" packages
  3. invoke "mvn clean install" on the base directory
  4. ignore the plugin execution not covered by lifecycle configuration error - or tell me how to fix it

How to execute Tests

There are two ways of executing the tests a) mvn test / mvn install / mvn package ... will execute all of your tests b) run dhbw.karlsruhe.it.yourgame.junit.TestSuite as a JUnit Test in your favourite IDE.

Maven will generate a pretty report in core/target/cucumber

Notes on the project structure

99% of your code will be in the core subproject. Your tests will fall into those 99%!

  • Unit Tests should be placed in dhbw.karlsruhe.it.yourgame.junit and should be named like "ExampleJUnit"
  • Unit Tests have to be added to the TestSuite (dhbw.karlsruhe.it.yourgame.junit). There's also a brief description provided
  • Cucumber Steps should be placed in dhbw.karlsruhe.it.yourgame.junit.cucumber and should end with "CucumberSteps"
  • Cucumber Feature Files should be placed in src/test/resources
  • You must not add cucumber steps to neither the TestSuite nor the CukeRunnerJUnit!

Additional Help

To enable more comfortable unit / functional testing I provided a little TestHelper class. Take a look at them

Contact

If you have questions / proposals feel free to send me a mail to [email protected]

libgdx-with-cucumber's People

Contributors

argannor avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.