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

 
 

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

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

Submitter:  Mike Gerwitz <mikegerwitz>
Submitted:  Sun 10 Jun 2012 12:39:21 AM UTC
   
 
Should Start On:  Sat 05 Nov 2011 04:00:00 AM UTC Should be Finished on:  Mon 20 Jan 2014 05:00:00 AM UTC
Category:  Core Priority:  9 - Immediate
Item Group:  Maintenance Status:  Done
Privacy:  Public Assigned to:  mikegerwitz
Percent Complete:  100% Open/Closed:  Closed
Planned Release:  0.2.0
Keywords:  refactor, testing,xunit

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>
Group administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Digest:
   task dependencies.

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-20 mikegerwitz StatusIn Progress Done
    2014-01-20 mikegerwitz Open/ClosedOpen Closed
    2014-01-20 mikegerwitz Percent Complete90% 100%
    2014-01-20 mikegerwitz Should be Finished on2013-01-01 2014-01-20
        Percent Complete40% 90%
        Planned ReleaseNone 0.2.0
        Keywordsrefactor, testing refactor, testing,xunit
    2012-06-10 mikegerwitz Dependencies- task #12088 is dependent

    Back to the top

    Powered by Savane 3.13-5884.
    Corresponding source code