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

Showing interesting/relevant test suites when debugging #181

Open
soyapark opened this issue Jun 19, 2019 · 0 comments
Open

Showing interesting/relevant test suites when debugging #181

soyapark opened this issue Jun 19, 2019 · 0 comments

Comments

@soyapark
Copy link
Member

soyapark commented Jun 19, 2019

As some participants point out from our past deployment (#164), we just take 5 latest emails from selected folders which are sometimes not relevant to users' code and it hampers users to debug their code properly.

As for string properties of Message and Contact, we can override them with our custom Str type and when users try to check equality or compare, we can log other value and use it for query relevant messages.

class MyStr(str):
  def __eq__(self, other):
    # Store `other` value to query

resource: https://www.pythondoeswhat.com/2011/01/custom-string-class.html

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

No branches or pull requests

1 participant