Skip to content

trangtungn/ci-bdd-model-auction

Repository files navigation

README

DONE

This Rails app follows this article How to Test Rails Models with RSpec which should cover the followings:

  1. Using RSpec to test models and business logic.
  2. Applying Continuous Integration with Semaphore to automate testing

Questions? Problems?

  1. TDD?

  2. BDD?

    • Behavior-Driven Development

    • is a software development process which is about minimizing feedback loop

    • combines general techniques and principles of Test Driven Development (TDD)

    • what, not how: We think about what the system does, rather than how it does it.

    • is not UI testing.

      BDD

  3. Testing models (Bid, Auction, User)

  4. Testing business logic (BiddingEngine)

  5. Using CI to automate testing