Show simple item record

dc.contributor.advisorRydland, Terjenb_NO
dc.contributor.authorKleivane, Tine Flåtennb_NO
dc.date.accessioned2014-12-19T13:37:58Z
dc.date.available2014-12-19T13:37:58Z
dc.date.created2011-10-20nb_NO
dc.date.issued2011nb_NO
dc.identifier450286nb_NO
dc.identifierntnudaim:6323nb_NO
dc.identifier.urihttp://hdl.handle.net/11250/252679
dc.description.abstractJavaScript has gained increased usage and attention the last years, but development and testing methods is still lagging behind.To mitigate some of these issues, this thesis brings together unit testing and JavaScript, using test-driven development as a methodology. Through exploration of these topics, the differentiators in a unit testing framework are considered. Existing frameworks are also discussed and how the terminology in JavaScript differs from traditional xUnit family frameworks.By creating and running a set of four test cases, both the general and unique features of JavaScript are tested in hand-picked frameworks, which were decided through an evaluation process. One of the contributions is based on this; a recommendation for a minimum set of test library features for a JavaScript unit testing framework.Various factors were found to differentiate the frameworks, and so the thesis also provides a Discovery test case to emphasize some of these aspects. This test case provides practitioners with a quick option for learning a new framework. The set of test cases can be applied to new frameworks to assess their functionality.As the thesis explores an area with little current research, suggestions for further work present several topics, ranging from system level JavaScript testing to quantitative studies building on the set of test cases.nb_NO
dc.languageengnb_NO
dc.publisherInstitutt for datateknikk og informasjonsvitenskapnb_NO
dc.subjectntnudaim:6323no_NO
dc.subjectMTDT datateknikkno_NO
dc.subjectProgram- og informasjonssystemerno_NO
dc.titleUnit Testing with TDD in JavaScriptnb_NO
dc.typeMaster thesisnb_NO
dc.source.pagenumber188nb_NO
dc.contributor.departmentNorges teknisk-naturvitenskapelige universitet, Fakultet for informasjonsteknologi, matematikk og elektroteknikk, Institutt for datateknikk og informasjonsvitenskapnb_NO


Files in this item

Thumbnail
Thumbnail
Thumbnail

This item appears in the following Collection(s)

Show simple item record