Kevin Hoerr kjhoerr
Loading Heatmap…

kjhoerr pushed to trunk at kjhoerr/ao-coverage

  • 2b59704ee4 Update dependencies to suppress MongoClient output

3 months ago

kjhoerr deleted branch istanbul from kjhoerr/ao-coverage

3 months ago

kjhoerr opened issue kjhoerr/ao-coverage#13

Create template for XML reports

3 months ago

kjhoerr commented on issue kjhoerr/ao-coverage#7

Move away from HTML report uploading to XML report handling

This is going to be my main development focus for the time being. Here's a breakdown of the changes to be made: * First phase: * [ ] Replace POST API endpoint for HTML with XML. Functionally very similar, since the XML file will also be 'statically' referencable through the public API. * [ ] Remove Tarpaulin format, and add new format for Cobertura. * [ ] Test uploading reports using Istanbul and Tarpaulin. * Second phase: * [ ] Add a new template HTML page to display the XML report. * [ ] Additional static files as needed (icons, stylesheets, scripts, etc.) There shouldn't need to be any additional metadata stored this way. One of the main reasons for going this direction is that the report display page should be able to be updated without retroactive processing. Keeping a template to generate should simplify things, and if any extra metadata is needed for the template, defaults can be used or figured through some migration. This will still cause a roadblock when integrating other formats. There is still a singular/primary format, and it is not being extensively parsed for metadata (or more accurately, just data). Hypothetically, this could be eventually converted to some JSON file on the backend, and the XML endpoint dropped. That would be the third phase: to support more formats. I think Cobertura covers plenty of cases though, and for SUI purposes it will work fine for now. Different issue, different time. If or when another format gets added, there should be some metadata added to track the original upload format. That way the original format report file can still be referenced. It would be neat to someday have a secondary process running to batch format conversions. It would reduce processing time at upload for the server so the server could focus on serving and handling reports. As a bonus, this could nullify need for a migration (aside from updates to the intermediary format itself).

3 months ago

kjhoerr pushed tag v0.4.3 to kjhoerr/ao-coverage

3 months ago

kjhoerr pushed to trunk at kjhoerr/ao-coverage

3 months ago

kjhoerr pushed to trunk at kjhoerr/ao-coverage

  • a836f1de4c Fix templates not properly injecting context

3 months ago

kjhoerr pushed to trunk at kjhoerr/ao-coverage

3 months ago

kjhoerr pushed tag v0.4.2 to kjhoerr/ao-coverage

3 months ago

kjhoerr pushed to trunk at kjhoerr/ao-coverage

  • 00ee6f4991 Add TSDoc and TypeDoc to handle documentation

3 months ago

kjhoerr pushed to trunk at kjhoerr/ao-coverage

  • fd2013a7bf Refactor startup to passthrough values Even more refactoring - however there were some small troubles using path in the nested scripts/files, so referencing them via the index should be a bit more stable. Plus, the config unit tests won't just exit because of configOrError constants strewn about the file.

3 months ago

kjhoerr pushed to trunk at kjhoerr/ao-coverage

3 months ago

kjhoerr closed issue kjhoerr/ao-coverage#11

Redirect unknown paths to 404 landing page

3 months ago

kjhoerr commented on issue kjhoerr/ao-coverage#11

Redirect unknown paths to 404 landing page

Resolved by this commit: 051ff1871a

3 months ago

kjhoerr pushed to trunk at kjhoerr/ao-coverage

3 months ago

kjhoerr closed issue kjhoerr/ao-coverage#12

Unit tests fail on first run

3 months ago

kjhoerr commented on issue kjhoerr/ao-coverage#12

Unit tests fail on first run

Resolved by this commit: ddecabba54

3 months ago

kjhoerr pushed to trunk at kjhoerr/ao-coverage

  • ddecabba54 These changes moved a lot of the startup async to run in a streamlined async init function. This brings more logic "to light", so it should probably have unit tests added to check the edge cases. As a bonus, no async runs as a result of route initialization. Speaking of routes, it might be nice to trim down the route calls themselves with async functions, if possible. The upload routes in particular use a lot of async. Just a note for the future.

3 months ago

kjhoerr opened issue kjhoerr/ao-coverage#12

Unit tests fail on first run

3 months ago

kjhoerr pushed to trunk at kjhoerr/ao-coverage

  • ee068fcbf0 Upgrade packages and fix express type change

3 months ago