Skip to content

[WIP] Improve testsuite for gomlib#521

Draft
mfonism wants to merge 1 commit intoppb:canonfrom
mfonism:2020.09.10/issue/243
Draft

[WIP] Improve testsuite for gomlib#521
mfonism wants to merge 1 commit intoppb:canonfrom
mfonism:2020.09.10/issue/243

Conversation

@mfonism
Copy link
Copy Markdown
Contributor

@mfonism mfonism commented Sep 10, 2020

@nbraud, @AstraLuma, @pathunstrom

This is a super WIP.

I wrote the tests in a separate file from test_gom.py so you can review it without any distraction from old code. When done, I can add it to test_gom.py.

Is this the right way to go for testing ppb.gomlib.Children?

How can I improve upon the tests for the methods my code is testing so far?

Tested methods are:

  • add()
  • remove()
  • get()
  • tags()
  • kinds()

The dunder methods contains(), iter() and len() aren't tested so well, though.

I'm still trying to figure out how to test walk().

@mfonism mfonism requested a review from a team as a code owner September 10, 2020 22:19
@AstraLuma AstraLuma marked this pull request as draft September 11, 2020 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant