Latest Changes

Differences between version #10830 and #14362

1c1,2
< Unit Testing is simple. You create a new TestClass and add it to the MainClass. Then you create testMethods in your TestClass. Thats it. Now, if you compile and run the MainClass, all your tests should be executed. 
---
> For unit testing you can use the classes from the [[http://haxe.org/api/haxe/unit|haxe.unit package]]  which are included in the default haxe installation. 
> There is also [[http://lib.haxe.org/p/munit|munit]], a cross-platform haxe unit testing framework, that you can install through haxelib. The tutorial on this page is for haxe.unit. Unit Testing is simple. You create a new TestClass and add it to the MainClass. Then you create testMethods in your TestClass. Thats it. Now, if you compile and run the MainClass, all your tests should be executed. 

	
Ver Date Entry Lg User Action
#19365 2013-05-23 18:46:47 ref/enums jp shohei909 View | Diff
#19364 2013-05-19 18:01:37 manual/haxe3 en orwellophile View | Diff
#19363 2013-05-19 17:58:20 manual/haxe3 en orwellophile View | Diff
#19362 2013-05-19 16:16:17 api/haxe/timer en vegetablesalad View | Diff
#19361 2013-05-19 16:14:40 api/haxe/timer en vegetablesalad View | Diff
#19360 2013-05-13 17:42:34 doc/libraries en Confidant View | Diff
#19359 2013-05-13 05:01:15 manual/macros/advanced en jason View | Diff
#19358 2013-05-12 02:55:03 com/ide en MarcWeber View | Diff
#19357 2013-05-11 05:26:13 ref/conditionals jp shohei909 View | Diff
#19356 2013-05-10 09:29:15 manual/completion en jason View | Diff
#19355 2013-05-09 00:24:39 download/manual_install/leopard en JLM View | Diff
#19354 2013-05-09 00:10:46 download/manual_install/leopard/justinsbuildnotes en JLM View | Diff
#19353 2013-05-08 18:42:04 com/news en ncannasse View | Diff
#19352 2013-05-08 18:12:08 manual/haxe3 en ncannasse View | Diff
#19351 2013-05-08 18:09:11 manual/haxe3 en Simn View | Diff
#19350 2013-05-08 18:04:19 manual/haxe3 en ncannasse View | Diff
#19349 2013-05-08 15:57:29 doc/haxelib/haxelib2 en jason View | Diff
#19348 2013-05-08 15:57:29 doc/haxelib/haxelib2 en jason Changed title from Haxelib 2 to Haxelib 3
#19347 2013-05-08 15:21:08 manual/haxe3/features jp shohei909 View | Diff
#19346 2013-05-08 15:15:14 manual/haxe3/features en shohei909 View | Diff

Previous | Next