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.

Create method in utils to check if beta

See original GitHub issue

Summary:

Checking whether the current BuildConfig flavour is beta is done frequently. While it’s extremely simple (BuildConfig.FLAVOR.equals("beta")) think it’d be nice to have all checks done to a method. There are also many variants (e.g. ==, equalsIngoreCase) + duplicated helper methods already so would be good to centralise.

This would allow us to do ‘find usages’ to quickly see where the prod and beta build differ in the Java code.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
domdomeggcommented, Jan 5, 2019

It is still open but I think @sup95 was working on it first. You can submit a pr but in future please try to avoid working on issues other people already are 😃

0reactions
korde96commented, Jan 5, 2019

Is this issue still open? I have made the changes on my local commit, so is it alright if I make a PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Appropriate methods to put into a util class? - Stack Overflow
I am working on a java class for parsing HTML and generating RDF (which I think I will eventually split into two classes...
Read more >
Test case to check if a method was called in `mounted` hook ...
Create a Vuejs component having a method and call that method in the mounted hook · In your test case, shallowMount the component...
Read more >
Java Unit Testing with JUnit and TestNG
Create a public constructor that takes its input from the @Parameters method to setup the test fixtures defined as instance variables. The constructor...
Read more >
Test Utilities - React
ReactTestUtils makes it easy to test React components in the testing framework of your choice. At Facebook we use Jest for painless JavaScript...
Read more >
What is Beta and Alpha Testing? | A Complete Guide
Beta testing is an important software testing type that allows organizations to test their product with real users in a production environment ...
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