Home

Awesome

Optimus Logo

Introduction Code Climate Build Status

Optimus is a simple way to bind an initial test runner environment using a JavaScript testing framework of your choice. It's highly recommended you care about quality and maintainable codes. Tests are the best way to do that.

Have fun testing your code. :)

What is included?

So far, Optimus includes tests with:

Check Issues for next updates.

Getting Started

Installation

1 - First of all, make sure you have Node.js installed. <br/> 2 - Clone this repository and access the generated folder

$ git clone git://github.com/vitorbritto/optimus.git [project-name]
$ cd [project-name]

3 - Install dependencies and run the program

$ npm i
$ node optimus

4 - Profit!

Update Dependencies

All vendor files are added with git submodules or NPM, so you can easily update them.

Run Tests

With Makefile:

Each boilerplate folder contains a Makefile with these tasks:

With Grunt:

The boilerplates also contain grunt files, so you can easily re-run the tests when files change.

General Structure

Each boilerplate contains these standard files:

.
├── .jshintrc
├── .travis.yml
├── Gruntfile.js
├── Makefile
├── README.md
├── app
│   ├── scripts
│   │   └── modules
│   └── styles
├── package.json
├── public
└── spec
    ├── helpers
    ├── index.html
    ├── init.js
    └── modules

Some of these frameworks don't have a grunt plugin. Thus, only makefile will be available to execute the tasks with the framework's command line tool.

References

Tools

Docs

Discussions

License

MIT License © Vitor Britto