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

ericblade / mws-advanced / 144
88%
master: 88%

Build:
Build:
LAST BUILD BRANCH: typescript
DEFAULT BRANCH: master
Ran 13 May 2018 05:04AM UTC
Jobs 2
Files 33
Run time 21s
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

pending completion
144

push

travis-ci

ericblade
begin separation of parsers from fetch logic

- add lib/parsers/marketplaceData, which is called by getMarketplaces to
  perform the parsing work.
- this allows for separate testing of parsers from fetchers, allowing...
- add test/mock/ListMarketplaceParticipations.json, which is used by...
- new test section "Parsers". The first one reads the mock data provided in
  this commit, and feeds it to lib/parsers/marketplaceData, testing it in
  exactly the same way that the live API is tested.
- with some additional cleanup and effort, it should be possible to get
  mocked data from MWS's PHP code, or saved via live calls (make sure you
  sanitize any sensitive information from it), and provide it either via
  file system reads, or a mocked MWS server.
- this commit also makes first official use of the "parseEndpoint" function
  which returns a function that calls callEndpoint, then calls the provided
  argument function with the return from callEndpoint.  This looks like:
  parseEndpoint('MwsApiName')(parserFunction)
- I'm going to admit that I'm not 100% positive that there is good use for
  this to return a function, only that it felt like there was a really good
  reason as to why I might want it to do it like that for future expansion.

182 of 226 branches covered (80.53%)

Branch coverage included in aggregate %.

453 of 532 relevant lines covered (85.15%)

181.72 hits per line

Jobs
ID Job ID Ran Files Coverage
1 144.1 13 May 2018 05:04AM UTC 0
83.77
Travis Job 144.1
2 144.2 13 May 2018 05:04AM UTC 0
83.77
Travis Job 144.2
Source Files on build 144
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #144
  • abe01bec on github
  • Prev Build on develop (#137)
  • Next Build on develop (#150)
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