Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/searls/jasmine-all

run jasmine from a single script tag
https://github.com/searls/jasmine-all

Last synced: 3 months ago
JSON representation

run jasmine from a single script tag

Awesome Lists containing this project

README

        

# jasmine-all

A single script to embed [jasmine](https://jasmine.github.io/) specs in a trivial HTML file or online with something like a JSFiddle very easily.

Here's the URL:

```
https://searls.github.io/jasmine-all/jasmine-all-min.js
```

Here's what that URL looks like in a script tag:

``` html

```

Check out the [examples](https://searls.github.io/jasmine-all/).

``` html


Jasmine



window.hugPanda = function(){ return "yay!"; };


describe('hugging pandas', function(){
it('makes me yell "yay!"', function(){
expect(hugPanda()).toBe("yay!");
});
});

```

The above markup should produce something like this:

![Screenshot](http://i.minus.com/iE2SLer3L7xxC.png "Screenshot")