taskease.js - Tasks: task #12091, Test Refactoring: Toward...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

task #12091: Test Refactoring: Toward xUnit-Style Testing

Submitted by:  Mike Gerwitz <mikegerwitz>
Submitted on:  Sun 10 Jun 2012 12:39:21 AM UTC  
 
Should Start On: Sat 05 Nov 2011 04:00:00 AM UTCShould be Finished on: Tue 01 Jan 2013 05:00:00 AM UTC
Category: CorePriority: 9 - Immediate
Item Group: MaintenanceStatus: In Progress
Privacy: PublicAssigned to: Mike Gerwitz <mikegerwitz>
Percent Complete: 40%Open/Closed: Open
Planned Release: None
Keywords: refactor, testing

Sun 10 Jun 2012 12:39:21 AM UTC, original submission:

Move all unit tests over from collections of self-executing functions to test cases using the new xUnit-style system.

As ease.js was originally written as a small collection of CommonJS modules with very little taken from Classical OOP, the testing was also fairly simple. Test cases were simply files with collections of self-executing functions, which served to separate individual tests within the case.

A small xUnit-style test case system and a suite runner have been developed for use in ease.js in order to provide better organization and useful output. The design is simple and will expand as is needed. The output has been modeled after my use of phpUnit. I am not interested in introducing a 3rd party testing framework, as I wish to keep the combine process for browser deployment fairly simple (that is: not change it around, at least at this time).

Mike Gerwitz <mikegerwitz>
Project AdministratorIn charge of this item.

 

No files currently attached

 

Depends on the following items: None found

Digest:
   task dependencies.

 

Carbon-Copy List
  • -unavailable- added by mikegerwitz (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 10 Jun 2012 12:41:22 AM UTCmikegerwitzDependencies-=>task #12088 is dependent
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup