question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Help Wanted: Unit & Functional Tests

See original GitHub issue

Hello Pixi Devs!

We’re looking for some PRs from folks to help increase our test-coverage or Pixi.js. Why are unit-tests helpful? Many reasons, but here are a few:

  • they help us spot issues sooner (with Travis and running npm test)
  • they improve the stability of code over time
  • they aid in doing major refactoring efforts

Let’s be frank, our test-coverage right now is pretty poor. Until now, we hadn’t realized just how poor. We have just merged PR #3041 a code-coverage tool which analyzes the Pixi code against the unit-tests to see what was run and what wasn’t (uses istanbul).

Right now our current coverage is about 32%. You can view the latest report on the current dev branch. We really would like to see that number grow over time. So… we will try to improve our coverage by at least 10% for the next couple releases.

Basically, we need some help writing some tests. Here are some of the lower-hanging fruit that’s currently not being unit-tested. Here are some ideas, would gladly welcome PRs to unit-test these pieces:

Math

Math Shapes

Loader Middleware

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:22 (12 by maintainers)

github_iconTop GitHub Comments

3reactions
bigtimebuddycommented, Feb 21, 2017

GREAT NEWS was have really improved our test coverage since starting this thread it has increased nearly 10%. I’m going to close this post for now and start another thread with some new unit-testing needs. Thanks for everyone’s help. Please keep adding to our tests and submitting PRs.

0reactions
lock[bot]commented, Feb 24, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unit Testing Jobs | Upwork™
Browse 55 open jobs and land a remote Unit Testing job today. See detailed job requirements, compensation, duration, employer history, & apply today....
Read more >
Help Wanted: Unit & Functional Tests · Issue #3047 · pixijs/pixijs
Hello Pixi Devs! We're looking for some PRs from folks to help increase our test-coverage or Pixi.js. Why are unit-tests helpful?
Read more >
Functional Testing: A Complete Guide with Types and Example
An In-Depth Comprehensive Functional Testing Tutorial with Types, Techniques, and Examples: What is Functional Testing?
Read more >
$55k-$127k Manual Functional Testing Jobs (NOW HIRING)
Browse 13300 MANUAL FUNCTIONAL TESTING jobs ($55k-$108k) from companies with openings that are hiring now. Find job postings near you and 1-click apply!...
Read more >
Functional Tester Jobs, Employment in Jersey City, NJ - Indeed
86 Functional Tester jobs available in Jersey City, NJ on Indeed.com. Apply to Quality Assurance Tester, Automation Engineer, Tester and more!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found