currently using these tools run tests,code coverage , documentation:
unit testing:
- jasmine
- xunit
code coverage:
- istanbul
- dotcover
documentation:
- typedoc
as i'm trying modular both frontend , backend have multiple bower components , nuget packages of course each components runs different type of tests , documentation.
now want have dedicated site grabs test results , documentation , have dedicated site developers etc. can use point of reference.
is there plugin available can me achieve it?
if not have idea can start tried googling bit no luck.
i'm using same technologies. build server use teamcity. in nutshell: build composed steps, e.g (simplified):
- build .sln
- gulp build
- xunit tests (*a: publishing coverage)
- karma run
- remap coverage javascript typescript (*b: publish coverage)
the problem had far coverage (*a + *b). last data overwrite first one, (not average all). in case use custom reports page display istanbul generated html report , use xunit coverage report.
you have coverage.json istanbul artifact of build, , second build picks , reports coverage through teamcity. coverage report build (only 1 step, report code coverage). trigger successful build generating coverage.
for generated documentation can use custom reports page.
about unit tests execution (both jasmine (karma?) , xunit), both report numbers , final test report show them combined.
Comments
Post a Comment