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.

MockServerSuite is in internal package

See original GitHub issue

What is the reason that the public class mentioned in the Readme is inside a package named internal?

I realized that since we have a lint check that warns imports with internal in them.

Moving them would be an backward incompatible change but would you considering doing that?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
tasomaniaccommented, Feb 19, 2020

Even with the current form, existing ones can be used with jUnit5 with the vintage engine. But that’s for migration purposes and people would not want to keep it forever. https://junit.org/junit5/docs/current/user-guide/#migrating-from-junit4

The stuff that I did with jUnit5 support is not compatible.

0reactions
tasomaniaccommented, Feb 19, 2020

Core would be a transitive dependency for both so that the users do not have to add it manually. They would add either junit4 or jUnit5 or Android one.

Then it also opens up the possibility to have core without even using any of the junit dependency.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Use of internal package not allowed - Stack Overflow
Internal packages (packages that are inside a folder that has an internal folder in their path) can only be imported from packages rooted...
Read more >
Use internal packages to reduce your public API surface
internal / is a special directory name recognised by the go tool which will prevent one package from being imported by another unless...
Read more >
Illegal internal package import in adf 12.1.3 — oracle-tech
Hi, We have migrated our application from 11.1.2.4 to 12.1.3, which is causing an warning/error for internal imports used in the code.
Read more >
Go 1.4 Release Notes - The Go Programming Language
Internal packages. Go's package system makes it easy to structure programs into components with clean boundaries, but there are only two forms of...
Read more >
5.1. Internal Package - Keypirinha
5.1. Internal Package¶ · Keypirinha: Configure Application to edit application's configuration file(s) · Keypirinha: Refresh Catalog to ask all packages to ...
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