Projects tagged ‘javascript’ and ‘rspec’


Jump to tag:

Projects tagged ‘javascript’ and ‘rspec’

Filtered by Project Tags javascript rspec

Refine results Project Tags svn (2) gpl (2) sake (2) sql (2) open-source (2) jquery (2) asm (2) decentralized (2) web (2) free (2) irb (2) ruby (2)

[4 total ]

31 Users
   

The Metasploit Framework is a development platform for creating security tools and exploits. The framework is used by network security professionals to perform penetration tests, system administrators ... [More] to verify patch installations, product vendors to perform regression testing, and security researchers world-wide. The framework is written in the Ruby programming language and includes components written in C and assembler. [Less]
Created over 3 years ago.

1 Users

Ronin is a Ruby platform for exploit development and security research. Ronin allows for the rapid development and distribution of code, exploits or payloads over many common Source-Code-Management (SCM) systems.
Created about 1 year 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

Javascript Mock Tool is Mock library of RSpec style. Easy use Mock or Stub object! 20090616namespace bug fix. mock("Foo.Bar").should_receive("test").with_param(1,2).and_return("2"); => ... [More] Foo.Bar.test(1,2); -> 2 20090615Mock.anything() method add. mock("Foo").should_receive("test").with_param(1,2,Mock.anything()).and_return("2"); => Foo.test(1,2,1); -> 2 Foo.test(1,2,2); -> 2 Foo.test(1,2,3); -> 2 ...... Foo.test(1,2, (any parameter) ); -> 2 20090610Initial release. Stub of JSMockTool.stub(Obj).should_receive("msg"); stub("Obj").should_receive("msg"); => Obj.msg(); stub("Obj",Stub.INSTANCE).should_receive("msg").and_return(value); => new Obj().msg(); -> valueMock of JSMockTool.mock(Obj).should_receive("msg"); mock("Obj").should_receive("msg"); => Obj.msg(); mock("Obj",Mock.INSTANCE).should_receive("msg").and_return(value1); => new Obj().msg(); -> value1 mock("Obj").should_receive("msg").with_param(1,2).and_return(value2); => Obj.msg(1,2); -> value2 mock("Obj").should_receive("msg").with_param(1,2,3).and_raise(new Error("error")); => Obj.msg(1,2,3); -> throw new Error("error"); mock("Obj").should_receive("msg").with_param(1).and_function(function(1){ alert(1); }); => Obj.msg(1); -> alert(1); [Less]
Created 4 months ago.