开发者

JSunit usability

开发者 https://www.devze.com 2023-01-02 08:38 出处:网络
Is JSunit really a direct port of Junit to Javascript? So 开发者_开发问答I have heard, but I am wondering why my company is not using it. My company has lots of smart minds, so If we are not using it

Is JSunit really a direct port of Junit to Javascript? So 开发者_开发问答I have heard, but I am wondering why my company is not using it. My company has lots of smart minds, so If we are not using it I wonder if there are any major issues with Jsunit as a javascript test harness.

Input would be much appreciated.

thanks!


JsUnit is an adaptation of JUnit for Javascript, not a direct port. It's very nice, but is showing its age and is no longer actively developed.

Check out Jasmine -- for a modern and actively supported alternative, written by the same people who wrote JsUnit.


You mean this jsunit? Maybe the smart guy's at your company do not even know it exists (actually, learning such things is one of the reasons I read SO). Maybe they haven't yet had the time to evaluate this for real use and deployment, or play with something else.

The tool is not the only thing that is needed to deploy a testing discipline: you need automated test replay, reporting to track deviations and progress, test methodologies, best practices. You also need documented objectives, and proper training for the teams. that is why in general companies with smart guys do not change tools every time a new tool is around, and sometime do not deploy all best practices immediately.

But in general this does not prevent individuals to deploy them for themselves, try tools, and even succeed to make the whole company evolve and use better processes, eventually building (even) better products.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号