I can't help with Mockito, except to say that I use it with Netbeans all
the time. I write the tests mostly from scratch. I'm not sure what
Netbeans could automate beyond creating template test methods as it does
now.
One tip I can share, that I discovered by accident, is that Netbeans can
s
https://plugins.netbeans.apache.org/?search=Mockito&nbv=21&cat=
On Thu, Feb 29, 2024, 16:43 Greenberg, Gary wrote:
> Yes, I do need to mock CRUD operations without accessing the database.
> As I said, code was debugged and tested with the database, but to
> comply with the company policy
> I do
Yes, I do need to mock CRUD operations without accessing the database.
As I said, code was debugged and tested with the database, but to comply with
the company policy
I do need to add these "fake" unit tests. I haven't used Mockito for about 10
years and don't want to spend much time
to refresh
On Thu, Feb 29, 2024, 13:33 Greenberg,Gary
wrote:
> I already have all DTO and DAO classes written and debugged.
> However, per company policy, unit test coverage must be no less than 75%.
> Right now, I have it less than 30%, because this is database driven
> project and to comply, I need to cre
The Apache NetBeans 21 binary releases require JDK 11+, and officially
supports running on JDK 11, 17 and 21.
On Thu, 29 Feb 2024 at 16:05, Ulf Zibis wrote:
>
> Am 29.02.24 um 21:51 schrieb Ulf Zibis:
>
> Hi,
>
> when I start the IDE, I get this message:
>
> Oups, after I hit Install, nothing m
Am 29.02.24 um 21:51 schrieb Ulf Zibis:
Hi,
when I start the IDE, I get this message:
Oups, after I hit Install, nothing more happens
When I hit Install, a new dialogue asks for confirmation. After confirmation of the
dialogue and "Restart IDE" I again get the same message.
This happens
Am 29.02.24 um 21:51 schrieb Ulf Zibis:
Hi,
when I start the IDE, I get this message:
I'm running NetBeans IDE 21 on Ubuntu 22.04 with openjdk-18-jdk.
-Ulf
-
To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
Hi,
when I start the IDE, I get this message:
When I hit Install, a new dialogue asks for confirmation. After confirmation of the
dialogue and "Restart IDE" I again get the same message.
What I'm doing wrong?
-Ulf
I already have all DTO and DAO classes written and debugged.
However, per company policy, unit test coverage must be no less than 75%.
Right now, I have it less than 30%, because this is database driven project and
to comply, I need to create
tests mocking database operations.
generated tests from existing classes sounds like testing after the fact.
Then I would consider generating the DAOs from information available, like
the database schema or the DTO classes which should be of the record type.
but if you still insist, make the DAO tests inherit from a TestBase class
10 matches
Mail list logo