101
9

Will Amper kill Maven and Gradle?

102
6
103
3
104
8

Tests can run assertions on your code but also reveal important insights about how your application really works.

Automated testing will assuredly go down in the annals of software development history as one of these industry-changing trends. Although few actually fully adhere to TDD discipline (I am in awe of those that do, just to be clear), most developers make sure to prioritize and include testing in their dev cycle. It took some time, but once the benefits of tests finally sunk into the collective developer psyche, tests successfully evolved from a chore, an inevitable victim of procrastination, to an important area of investment in your personal dev cycle.

Deceptively, the phrase ‘automated testing’ includes a wide gamut of testing techniques and methodologies. From unit tests, often just an echo of your coding assumptions, to integration tests, user-acceptable end-to-end testing, load testing, and more. In fact, early on developers were plagued by hard questions with no definitive answers around exactly that topic: ‘how much’ and ‘what’ exactly should be tested. How do you know you’ve tested enough?

105
14
submitted 2 years ago* (last edited 2 years ago) by LadyLeeLoosh@programming.dev to c/java@programming.dev

An easy non-obtrusive way to collect data about your dockerized app without changing your existing docker-compose.yml or docker files.

106
4
107
9
108
9
109
11
submitted 2 years ago* (last edited 2 years ago) by lysdexic@programming.dev to c/java@programming.dev

Saved you a click:

  • JaCoCo for test coverage,
  • PMD for static code analysis
  • SpotBugs (successor of FindBugs) for linting and enforce coding style/best practices,
  • japicmp to check semantic versioning
  • codecov and checkstyle.
110
9
A tale of Java Hash Tables (www.andreinc.net)
111
4
112
6
113
11
114
23
submitted 2 years ago by aev@lemmy.sdf.org to c/java@programming.dev

Advances in the java programming language, version 16 and newer, slashed a million lines of code from my codebase. Maintaining my programs became easier overnight, due to this 1 secret trick: Records. 
Unfortunately version 16 was not LTS, so I had to wait until this year's release of version 21, which is LTS. 
 Go read the linked article. It explains Java Records in a very approachable manner.

115
14
116
6
117
3
118
3
119
5
120
2
121
8

We are happy to announce the general availability of our official Java Platform Extension for Visual Studio Code. Unlike the language servers offered by other VS Code extensions for Java, this language server is based on the OpenJDK JDK's javac co…

122
1
123
1
124
2
125
1
view more: ‹ prev next ›

Java

1714 readers
1 users here now

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

founded 2 years ago
MODERATORS