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

mozilla / foundation.mozilla.org / 1351
69%

Build:
DEFAULT BRANCH: master
Ran 17 Jan 2018 07:19PM UTC
Jobs 1
Files 141
Run time 7s
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
1351

push

travis-ci

cadecairos
Create fake data for testing (#932)

* Create NewsFactory

* Update Faker and move to one factory per apps

* Implement HighlightFactory

* Update the highlight tests

* 1. Implement factories for Person, InternetHealthIssue, and Affiliation models.
2. WIP implement factories Homepage and HomepageHighlights models. HomepageLeaders and HomepageNews factories are not implemented yet.

* news factory WIP

* 1. fixes for highlights factory and tests
2. fixes for homepage factory and tests
3. fixes for people factory

* 1. Implement HomepageLeaderFactory tests
2. Fix the post_generation check for a tuple in the PersonFactory

* lint fixes

* Implement tests for the PersonFactory class

* Fix news factory and tests. Fix some typos

* Move tests in a tests folder per app + HighlightFactory tests

* Add milestone factory + tests

* Remove UTC and general cleanup

* make the milestone duration a datetime.datetime, and make it configurable

* Refactor Highlight View Tests

1. Refactor the view tests to use rest_framework.test.APIRequestFactory so that the view classes can be directly tested
2. Separate the HighlightView and HighlightListView tests into separate TestCase classes
3. Test only one thing in each test case of HighlightView and HighlightListView

* HightlightFactory test cleanup

* Homepage Factories Tests

1. Move homepage app tests into a tests directory
2. Refactor the HomepageFactory, HomepageLeadersFactory, HomepageNewsFactory and HomepageHighlightsFactory tests so they test only what makes sense - i.e We shouldn't test that functionality provided by FakerBoy can pass arguments to sub-factories

* WIP Homepage view tests

* Fix views tests + typo

* first try at the management command

*  FileField Support

1. Add some placeholder images for generated models
2. Write a custom provider for Faker that can generate paths to the placeholder images
3. Using a post_generate hook, update the 'nam... (continued)

585 of 585 new or added lines in 21 files covered. (100.0%)

1253 of 1589 relevant lines covered (78.85%)

0.79 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
100.0
network-api/networkapi/management/commands/heroku_release.py
6
100.0
network-api/networkapi/people/factory.py
30
100.0
network-api/networkapi/management/commands/flush_models.py
66
100.0
network-api/networkapi/management/commands/load_fake_data.py
Jobs
ID Job ID Ran Files Coverage
1 1351.1 17 Jan 2018 07:19PM UTC 0
78.85
Travis Job 1351.1
Source Files on build 1351
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1351
  • 7786116c on github
  • Next Build on master (#1368)
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