Code Monkey home page Code Monkey logo

codeigniter2_hmvc_bonfire_codeception_phpunit's Introduction

-This files help integrate codeception or phpunit with codeigniter (v2) and bonfire.
-It specifically is able to work with the bonfire hmvc
-only 1 core file is modified because the overwrite didn't work for it
-further integration is pending to handle the errors better
-configuration files are set to use saucelabs for acceptance tests
- run_tests.php runs codeception through the browser
- tests/dev are support files to make it easier to develop the tests
- sample tests and dev have been modified to exclude private data, but still show how you use the modules and models, is possible they have
a php error as I did not run them after changes.
- Code and ideas were taken from many places to make this work such as:
http://taiar.github.io/php/2013/11/08/testing-codeigniter-applications-with-phpunit.html
https://github.com/fmalk/codeigniter-phpunit/tree/2.x
and other 
- Sauce labs host is configured as 
user:[email protected] 
and you can subscribe for a trial to see it in action
-There are probably some extra files and codes that are not needed to work, but this is the setup that is working for me
- You probably need phantomjs installed and running on the server for selenium tests to work
- If you don't need selenium tests then open acceptance.suite.yml and remove the web driver configuration or as per codeception documentation change it to phpbrowser


codeigniter2_hmvc_bonfire_codeception_phpunit's People

Contributors

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