Projects tagged ‘bdd’ and ‘rspec’


Jump to tag:

Projects tagged ‘bdd’ and ‘rspec’

Filtered by Project Tags bdd rspec

Refine results Project Tags ruby (5) testing (4) agile (3) spec (2) tdd (2) rails (2) specification (2) cucumber (2) behaviour (2) tests (1) mocks (1) mocking (1)

[9 total ]

137 Users
   

Cross platform BDD tool that lets domain experts define software behaviour in plain text. The text can be executed as automated tests.
Created about 1 year ago.

0 Users

Cucumber runner is replacement of the original RSpec story runner. This project enables running Cucumber features from Mingle.
Created 12 months ago.

0 Users

JsSpec tries to bring behaviour driven development to JavaScript by somewhat mimicking what rspec does in ruby. with (Spec) { describe("A newly created Tic-Tac-Toe", function() { with (this) { ... [More] before("each", function() { this.game = new TicTacToe(); }); it("should have 9 empty cells", function() { this.game.cells.should(have(9, "items")); this.game.cells.each(function(cell) { cell.should( be(undefined) ); }); }); it("should have 0 players", function() { this.game.should( have(0, "players") ); }); }}); } Specs.run();Real docs coming soon, look at the README file in the downloadable package or the running example in spec/index.html [Less]
Created about 1 year ago.

0 Users

Nelson analyzes a model in your Rails project and provides you with the following: 1. a method to generate a mock object with all required fields supplied; this object can be a valid or invalid ... [More] instance of the model; you can specify attributes to error on; you can override field values. 2. a file with stub! and should_receive statements for class and instance methods that can be automagically parsed 3. output of methods that could not be parsed Nelson tries to take all the pain out of mocking ActiveRecord objects. [Less]
Created about 1 year ago.

0 Users

Write and validate .NET specifications in BDD style.This framework can be used along with any other unit testing, mocking frameworks. Main purpose of this framework is to allow writing unit tests in ... [More] BDD style (similar to RSpec) Simple usage example: using System; using NUnit.Framework; namespace Demo.Spec { public class CreditCardTest : ArtSpec.Spec { /* note: override this method to define specification */ protected override void Specify() { Console.WriteLine(@"CreditCardTest demonstrates using NUnit framework"); It("should have a valid month", () => { /* note: defines expectation of an exception */ Error(delegate { new CreditCard {Month = 0}; }); Error(delegate { new CreditCard {Month = 13}; }); Error(delegate { new CreditCard {Month = -1}; }); new CreditCard {Month = 1}; new CreditCard {Month = 12}; }); It("should have a valid year", () => { Error(delegate { new CreditCard {Year = -1}; }); /* note: other unit testing frameworks can be used */ Assert.AreEqual(2009, (new CreditCard {Year = 2009}).Year); }); It("should have at least two words in the name", () => { Error(()=> new CreditCard {Name = "Sam"}); Assert.AreEqual("Sam Smith", (new CreditCard {Name = "Sam Smith"}).Name); Assert.AreEqual("Sam Smith Third", (new CreditCard { Name = "Sam Smith Third" }).Name); }); } } }This and other samples are included in the release This approach will be frozen due to a better approach demonstrated by MSpec, good job guys! It is highly recommended. ArtSpec has been tried to provide BDD for XF.Server component (http://www.kodart.com) which provides high performance for client-server applications using .NET [Less]
Created 7 months ago.

0 Users

This project is one of Ruby's Summer of Code projects. We'll be basing our specifications and infrastructure on Rubinius' specs. Right now, we will only use this site for the Wiki. Releases will ... [More] be done on the RubyTests project over at Rubyforge. [Less]
Created about 1 year ago.

0 Users

Pending...
Created 12 months ago.

0 Users

Primary Goal Have a bit of help with spec/context style BDD over the typical NUnit class=spec method=rule approach. Why Am I Building This ? I need to be able to provide well formatted reports ... [More] to business experts at my job. Why don't I use or contribute to BDD framework X ? I thought about it a lot, but fundamentally all the .Net ones I've seen either are A) acceptance given/when/then or they B) have in my opinion steeper learning curve than I'm comfortable throwing at junior devs. I wanted something that was more opinionated in its usage. [Less]
Created 7 months ago.

0 Users

rspec book cnThe purpose of this project is doing some translate Rspec official Document into Chinese. Additionaly we will collect some more interesting posts of Rspec, and tarnslate them(if en). ... [More] Our workhttp://code.google.com/p/rspec-cnbook/wiki/Overview How join the translate teamSend a mail to ysorigin Linkshttp://rspec.info/documentation/ [Less]
Created about 1 year ago.