Skip to content
This repository has been archived by the owner on May 2, 2024. It is now read-only.
/ lily Public archive

A JavaScript testing framework

Notifications You must be signed in to change notification settings

daneharrigan/lily

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is Lily?

Lily is a simple integration testing framework written in JavaScript. It is currently being written to streamline iOS automated testing, but with the hope of adoption to solve other problems.

Lily is broken out into four main components:

  1. Scenarios
  2. Expectations/Matchers
  3. Platform drivers
  4. Suite Runners

Lily has been broken out into these four pieces so that single components can be swapped in and out to support things like Node.js or usage within a browser.

Plans

Scenario('Asking John Smith a question',function(){
  var person;
  Before(function(){
    person = new Person('John Smith');
  });

  Given('I know "John Smith"',function(full_name){
    expect(person.is(full_name)).toBe(true);
  });

  When('I ask John, "What is your age?"',function(question){
    person.ask(question);
  });

  Then('John answers with "25"',functino(age){
    age = parseInt(age);
    expect(person.answer).toEqual(age);
  });
});

About

A JavaScript testing framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published