Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sattelite] Insufficient tests #3114

Closed
tamireinhorn opened this issue Jun 14, 2022 · 10 comments
Closed

[Sattelite] Insufficient tests #3114

tamireinhorn opened this issue Jun 14, 2022 · 10 comments
Labels
enhancement 🦄 ⭐ Changing current behaviour or enhancing/adding to what's already there.

Comments

@tamireinhorn
Copy link

tamireinhorn commented Jun 14, 2022

This exercise presents an interesting challenge, specially after solving Binary Search Trees. However, for some reason, its trees do not use numerical values, and even the letter values do not seem to follow the usual alphabetical logic as far as I can see. Coupling that with the fact that of the 7 tests, only 2 are not exception verifications, I think the exercise could have more tests, derived from the trees in the Binary Search Trees exercise. I've even written them in my repo for solutions.

@github-actions
Copy link
Contributor

🤖   🤖

Hi! 👋🏽 👋 Welcome to the Exercism Python Repo!

Thank you for opening an issue! 🐍  🌈 ✨


  •   If you are requesting support, we will be along shortly to help. (generally within 72 hours, often more quickly).
  •   Found a problem with tests, exercises or something else??  🎉
      ◦ We'll take a look as soon as we can & identify what work is needed to fix it. (generally within 72 hours).

​          ◦ If you'd also like to make a PR to fix the issue, please have a quick look at the Pull Requests doc.
             We  💙  PRs that follow our Exercism & Track contributing guidelines!

  •   Here because of an obvious (and small set of) spelling, grammar, or punctuation issues with one exercise,
      concept, or Python document?? 🌟 Please feel free to submit a PR, linking to this issue. 🎉
    ‼️  Please Do Not ‼️

    ​        ❗ Run checks on the whole repo & submit a bunch of PRs.
                  This creates longer review cycles & exhausts reviewers energy & time.
                  It may also conflict with ongoing changes from other contributors.
    ​        ❗ Insert only blank lines, make a closing bracket drop to the next line, change a word
                  to a synonym without obvious reason, or add trailing space that's not an EOL for the very end of text files.
            ❗ Introduce arbitrary changes "just to change things" .

            ...These sorts of things are not considered helpful, and will likely be closed by reviewers.

  • For anything complicated or ambiguous, let's discuss things -- we will likely welcome a PR from you.
  • Here to suggest a feature or new exercise?? Hooray! Please keep in mind Chesterton's Fence.
    Thoughtful suggestions will likely result faster & more enthusiastic responses from maintainers.

💛  💙  While you are here... If you decide to help out with other open issues, you have our gratitude 🙌 🙌🏽.
Anything tagged with [help wanted] and without [Claimed] is up for grabs.
Comment on the issue and we will reserve it for you. 🌈 ✨

@tamireinhorn tamireinhorn changed the title [Sattelite [Sattelite] Insufficient tests Jun 14, 2022
@BethanyG
Copy link
Member

Hi @tamireinhorn 👋🏽

Thank you for filing this issue. I agree: the tests look thin for statellite, and it could benefit from more tests being added.

We pull our data for satellite from the problem-specifications repo, and auto-generate the tests you see here on the track.

So I would recommend that you PR your test cases to that repo, so that all tracks can discuss and benefit from them. Once the change is made in problems-specifications, we can pull it into the Python track and re-generate the test file for the exercise.

@tamireinhorn
Copy link
Author

tamireinhorn commented Jun 14, 2022 via email

@BethanyG
Copy link
Member

Hi @tamireinhorn,

That is correct -- you will want to update the canonical-data.json for the exercise. 😄

You can find the specifications for the file under the README -- Test Data. Any valid UUID(v4) will work. I often use this web-based UUID Generator to generate the ids, but you can use any method, as long as they're valid UUID(v4).

I ... think that's all that is needed, but make sure to read through the linked README, as I may have forgotten something.

@tamireinhorn
Copy link
Author

Here's the PR

@tamireinhorn
Copy link
Author

Still not enough reviews there, sadly

@BethanyG
Copy link
Member

My apologies @tamireinhorn - I've been really swamped. As soon as I get time to go back through the exercise, I will go ahead and add my review for your proposed changes. Please bear with me. 😄

@tamireinhorn
Copy link
Author

tamireinhorn commented Jul 28, 2022 via email

@BethanyG
Copy link
Member

As a note the problems-specifications PR is still pending with a note from Glenn from 6 days ago about some additional test case scenarios and proposals.

@BethanyG BethanyG added the enhancement 🦄 ⭐ Changing current behaviour or enhancing/adding to what's already there. label Sep 13, 2022
@BethanyG BethanyG reopened this Feb 25, 2023
@BethanyG
Copy link
Member

Closing this as there is an issue open in problem specifications.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🦄 ⭐ Changing current behaviour or enhancing/adding to what's already there.
Projects
None yet
Development

No branches or pull requests

2 participants