Code Monkey home page Code Monkey logo

jasmineio's People

Contributors

ales-tsurko avatar follesoe avatar johshoff avatar leavengood avatar mikkelbd avatar pietrom avatar sgravrock avatar torgeir avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jasmineio's Issues

needs license terms

Is this meant to be open source software? Should we use it under the terms of the MIT/X11 License (same as Jasmine for JavaScript) or those of the Revised BSD License (same as Io itself)? Please add a license file to let prospective users know what legal restrictions may apply.

Support for beforeEach and afterEach

Should be possible to add a beforeEach and afterEach block to each suite. This will be an interesting feature, as we now need to think more carefully about scoping and which context each specification is execute in.

Option to execute tests in "compact" mode

Make it possible to execute the tests in "compact" mode, where you do not print every suite/spesification, but instead print a "O" if the test passes, and an "X" if it fails.

Support for nested suites

Jasmine supports nesting suites, and follow the scoping rules of JavaScript (an inner suite can access variables from an outer suite).

This would also be an interesting feature to add, as we would need to dig deeper into scoping/passing correct scope when executing a spec.

Error executing specs with nill beforeEach/afterEach

I checked out the master branch and launched io jasmine.io in the root directory, obtaining the following error:

Exception: argument 0 to method 'doMessage' must be a Message, not a 'nil'


doMessage jasmine.io 246
Suite run [unlabeled] 0
List mapInPlace [unlabeled] 0
List map jasmine.io 322
Call relayStopStatus A4_Exception.io 24
Call delegateToMethod A0_List.io 176
CLI doFile Z_CLI.io 140
CLI run IoState_runCLI() 1

I'm using Io installed from deb package on Ubuntu 12.04 64 bit.

$ io --version
Io Programming Language, v. 20110905

Add more matchers

Currently we only have toBe, toEqual and toBeNil. We should probably add more matchers such as:

  • toHaveSlot to check if a object has a given slot
  • toContain to check if a List/Map contains an object
  • toBeTrue and toBeFalse to check boolean expressions
  • toThrow to check or exceptions

Adding the toThrow will greatly simplify our own testing of matchers, so it would make sense to implement this one first.

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.