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.

The test suite is currently split between two organization models: some tests are organized by the component, or the feature, they test (like this), and a lot of tests are organized by the number of the GitHub issue they verify (like this).

This leads to test failures due to regressions not being easy to trace, and to some features or behaviors being tested more than once in several different places.

I’d like to reorganize the tests by moving the ones in the io.mockk.gh to the specific package and test class they are related to, possibly adding some more descriptive test names and keeping the association with the GitHub issue in a comment.

This, BTW, also seems to me like a good starting point for new contributors to get accustomed with MockK internals.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:8

github_iconTop GitHub Comments

2reactions
Endhuinecommented, May 5, 2021

I totally agree with this. Seems like a huge task, I’ll try to carry on a little by myself, if anyone is interested please, let me know, so we don’t risk doing the same job twice.

0reactions
Raibazcommented, Sep 19, 2022

I think we can consider this completed, since we don’t have any tests named after GitHub issues anymore.

However, there are plenty of issues tagged with good-first-issue that you can start tackling 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

7 Golden Tips to Organize Your Software Tests - Tecknoworks
1. Make sure that the environment for testing is set-up correctly · 2. Set up the right tools for the product you are...
Read more >
Organize Tests | Basic Guides | Guides | Docs - TestCafe
This topic describes how to organize test code, declare fixtures, tests, and hooks. Fixtures; Tests; Specify the Start Webpage; Specify Test Metadata.
Read more >
JavaScript API Automation - Reorganizing Tests - YouTube
api # test #automationIn this video, we'll take a look at some API Tests Optimization techniques by reorganizing our existing tests.
Read more >
Reusing and Reordering Tests - SOAtest and Virtualize 2021.1
This topic explains how to reorder tests as well as to how reuse tests and other test assets with copy/cut and paste. Related...
Read more >
Organize Test Execution - Tricentis
Organize Test Execution. Properly organizing Test Execution is critical to your team's success. The organization not only affects how testers will use qTest ......
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