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

SibylLab / Program-Wars / 1309 / 1
51%
master: 51%

Build:
DEFAULT BRANCH: master
Ran 02 Sep 2020 07:50PM UTC
Files 89
Run time 11s
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

02 Sep 2020 07:48PM UTC coverage: 51.221% (-0.03%) from 51.251%
1309.1

push

travis-ci

web-flow
Bug fixes v2.5 (#635)

* Made some changes to CardFactory to reduce the size of the if statement in newCard. Fixed a bug in isNegativeEffect in card data so that Trojan is not confused as a negative effect. Added tests for card factory newCard.

* Testing for the Card class.

* Add tests for CardWrapper.

* Fixed a mistake with how I was testing CardWrapper constructor. Added Tests for instruction card class.

* Added Method card class tests.

* Configured jest to not look in the documents folder.

* Added MimicWrapper tests, and started Repeat tests.

* Added Repeat class tests.

* Added tests for Search and Sort cards.

* Added tests for Virus card.

* Added tests for Redraw handler.

* Started adding back PlayBestCard tests.

* Added more tests for PlayBestCard.

* Added tests for Virus in play best card. Updated this to call willAccept on the stacks, so an AI can't play a virus on a stack with a virus.

* Added test for search and added to only search the top n cards set by the search cards value. Also, fixed an issue with the loop that would never find a card.

* Added tests for seach and sort. Adjusted sort as drawing cards from the deck should never be undefined.

* Finished testing the PlayBestCard class. also set up play negative effect to not need scores as players have these attached to them now. Have not removed it from the rest of the game yet though.

* Added tests for AIHandler.

* Added test for action handler which is essentially an abstract class. Added deck to the params of handle and it is everywhere else.

* Added back the aiHelpers tests as the file hasn't changed.

* Added tests for play random card. Fixed the search in random card to use the card value or the length of the deck to bound the choice.

* Since we made PlayBestCard instruction method only play on the method stack, I am removing the MethodStackFirst component.

* Added test for AIHandlerFactory and fixed some small issues ... (continued)

259 of 510 branches covered (50.78%)

Branch coverage included in aggregate %.

622 of 1210 relevant lines covered (51.4%)

37.64 hits per line

Source Files on job 1309.1
  • Tree
  • List 0
  • Changed 6
  • Source Changed 6
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 43
  • Travis Job 1309.1
  • a251bbb5 on github
  • Prev Job for on master (#1308.1)
  • Next Job for on master (#1310.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

© 2025 Coveralls, Inc