• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

target / consensource-api / #124 / 1
63%
master: 63%

Build:
DEFAULT BRANCH: master
Ran 22 Feb 2021 10:38PM UTC
Files 23
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

22 Feb 2021 10:24PM UTC coverage: 63.178% (+0.9%) from 62.23%
#124.1

push

web-flow
Add csv endpoint to get file of factories (#40)

* Add csv endpoint to get file of factories

- Add GET endpoint at `/api/csv/factories.csv`
- Add `csv` crate
- Add `Row` type to serialize factory name + address to csv
- Add endpoint to main server and test server
- Add unit tests for file writing and for the endpoint

Signed-off-by: Trevor McDonald <trevor.mcdonald@target.com>

* Update factory csv file endpoint

- Change format to be one row per factory-cert combo
- Include organization id
- Include certificate standard name and valid dates
- Add unit tests for new format

* Handle bad timestamps on conversion to csv files

1141 of 1806 relevant lines covered (63.18%)

1.41 hits per line

Source Files on job #124.1
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 124
  • bd2d3945 on github
  • Prev Job for on master (##120.1)
  • Next Job for on master (##127.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc