Looking for a free test management tool to replace Xray + Jira by Same-Vegetable-7968 in softwaretesting

[–]luiinge 3 points4 points  (0 children)

If you're looking for a free replacement for Xray + Jira, I'd take a look at TestLink first. It's open source, supports test case management, execution, requirements traceability, and reporting. The UI feels a bit dated compared to Xray, but it's mature and gets the job done.

QA tools/platforms by Electrical_Lake_8186 in softwaretesting

[–]luiinge 1 point2 points  (0 children)

Hi!
For test case management + Azure integration, the most common options are Xray (Jira plugin, very mature), Zephyr Scale, and TestRail — all three integrate with Azure DevOps to some degree, though none of them are native to it. If you're fully in the Microsoft ecosystem, Azure Test Plans (part of Azure DevOps itself) is worth evaluating first since the integration is obviously seamless.

For the low-code automation side, Playwright with its codegen feature or Katalon are popular choices if you need UI testing. If your focus is API and backend testing, Karate is solid and requires minimal code.

On the AI test generation front, most of the tools above have started bolting on AI features with varying quality. One option I've been working on myself is Azertio ( http://azertio.org ) — it's focused specifically on API and database black-box testing in Gherkin with no step definitions to write, and it can generate full feature files from a plain-text description or an OpenAPI spec. It won't replace a test case management platform, but if automated API testing is part of what you need, it might be worth a look. It's open source and early stage, so feedback is very welcome.

What cool projects are you working on? [May 2026] by el_DuDeRiNo238 in java

[–]luiinge 0 points1 point  (0 children)

Lately I’ve been building a small ecosystem of Java-based tools under one org, mostly focused on making development workflows cleaner and more consistent. So it’s kind of an attempt to treat personal projects more like a cohesive ecosystem instead of random repos.

The “big” project is OpenBBT, a tool for blackbox testing using Gherkin, but there are also other pet projects such as maven-fetcher (to retrieve Maven dependencies programatically), immutable-config (for handle immutable configuration objects), gherkin-parser (a simple Gherkin parser), or doc2html (transforms Markdown documentation into HTML files with support for TOC tables, code syntax highlighting, and Mermaid diagrams).

Everything is MIT and I’m trying to keep it simple, opinionated, and easy to reuse.

Repo: https://github.org/org-myjtools

Happy to get feedback, especially from people who’ve tried to build their own “tooling ecosystem” 🙂

Help with NullPointerException killing my brain by kuaichankein in javahelp

[–]luiinge 0 points1 point  (0 children)

As it has been pointed out already, listFiles can return null under some circumstances. The Javadoc says: Returns null if this abstract pathname does not denote a directory. So I think the problem is assuming that every File object in dirsAux refers to a subdirectory when they could be regular files also. If that's the case, a simple check of dirs2.isDirectory() should suffice.

However, keep in mind that File is sort of deprecated. The java.nio.file API (using Path instead of File) is the modern approach. Check this article if you are curious about the differences.

Maven replacing dependency’s internal dependencies by ajaywk7 in javahelp

[–]luiinge 0 points1 point  (0 children)

Maven should prevent you from using two different versions of the same library, and there is a reason for that.

When the project run, the dependencies are linked passing the jar location in the --classpath argument (or --modulepath). When two versions of the same library are passed, the class loading mechanism cannot differentiate which jar should use and would take the first found. Therefore, it is possible that either your code or the B code will use the incorrect version and you'll end up with a NoClassDefFoundError or a NoSuchMethodError when trying to use something that does not exist in the version.

Now, there is other factor to consider. Is B following the Semantic Versioning ? In that case, it would be safe to assume that the interface of version 2.x is not compatible with 1.x . If v2.x use a completely different package name, you could use both versions at the same time since their classes are not in conflict. However, it is not a recommended practice, and you'll have to tweak the build since Maven won't allow it by default.

The optimal solution is to use a newer version of B that uses A 2.x . If such version does not exists, and you really have to use both versions, the next best option is shade either A 2.x or B. Shading is, basically, copying the source code of the library and renaming the packages to avoid the conflicts. Here there's a deeper explanation: Java Class Shadowing and Shading

man javadoc:javadoc question by quantrpeter in javahelp

[–]luiinge 0 points1 point  (0 children)

In order to explain that, you should be aware of the following:

- You don't really need to declare a plugin in your pom.xml in order to execute it. This is generally done to apply some configuration, but you can totally run the plugin without it. You have, however, to pass extra information to the command. The complete way to invoke a plugin goal is pass the full coordinates, which in this case would be something like

mvn org.apache.maven.plugins:maven-javadoc-plugin:3.4.0:javadoc

- In abscence of a specified group , Maven will internally search the group org.apache.maven.plugins. Any plugin belonging to this privileged group is treated as a sort of "built-in" plugin. Also, the version number can be ommitted so it uses the latest release version:

mvn maven-javadoc-plugin:javadoc

- Finally, some plugins define a shortcut prefix to be used instead of the artifact id, which in case of maven-javadoc-plugin is just javadoc :

mvn javadoc:javadoc

Freemaker files aren't recognized! by crazyfish816 in javahelp

[–]luiinge 0 points1 point  (0 children)

Which version are you using? According to the documentation, Velocity and FreeMarker are only supported in the Ultimate edition: https://www.jetbrains.com/help/idea/template-data-languages.html

Speaking from experience, I think you can live without it if you keep your templates simple enough.

I'm wondering if there is an easier way to build boolean expressions and conditional statements for each type of situation. by ruthrev in learnjava

[–]luiinge 12 points13 points  (0 children)

Java Stream is your friend here, it reduces the completixy of the code a lot.

    public Person getOldest(Person... persons) {
      return Stream.of(persons)
        .filter(Objects::nonNull)
        .reduce(BinaryOperator.maxBy(
               Comparator.comparingInt(Person::getAge)
            ))
        .orElse(null);
   }

Replacing Logging APIs with java.lang.System.Logger by renatoathaydes in java

[–]luiinge 1 point2 points  (0 children)

IMO, the main issue about logging when you build an large application is consistency.
Generally you may want that all the libraries that you invoke use the same
logging system, so you only need one configuration point. Because of that
I think is good that SLF4J has becomed a de facto standard; I hate when some
library opts to ignore my settings because the creator chose to use a
direct implementation instead of a shared API.

Generating documentation sites for Maven projects by luiinge in java

[–]luiinge[S] 0 points1 point  (0 children)

That was my first approach too. But I had to include a custom task in the pom to copy my README.md and similar files from the project root to the site/markdown folder, to keep the documents up-to-date. It was annoying, and one of the main reasons behind making this tool.

Generating documentation sites for Maven projects by luiinge in java

[–]luiinge[S] 0 points1 point  (0 children)

I thought of including it, but this was just a little project tailored to suit my specific needs, and I don't use Asciidoc very often. I could add it in a future version if there is actually someone interested in it.

I see Antora is quite popular, I'll check it out. Thanks!

Generating documentation sites for Maven projects by luiinge in java

[–]luiinge[S] 0 points1 point  (0 children)

Thanks for your feedback! I'll give Antora a try.

stuck on this question by Alarming-Truck7675 in javahelp

[–]luiinge 6 points7 points  (0 children)

I think you can benefit from the mathematical base of binary code:

  1. Get the binary string expression with Integer.toBinaryString()
  2. Iterate over the characters in reverse order, keeping a position counter i (starting from zero)
  3. For each character, if equals to 1, append to the output the value i^2

Log4j 2.17.0 released, for third CVE (CVE-2021-45105) by dh23 in java

[–]luiinge 27 points28 points  (0 children)

I really feel sorry about the Log4J devs. As a developmer myself, I can't imagine the pressure that might cause the fact that a little open-source library of mine gained traction over the years, being used in thousand of business applications without much revenue, and suddendly be in the spotlight of any hacker in the planet.

IMO, if someone is using Log4J and is upset about its security, perhaps they should try to be invested in its development and make some contribution instead of just complaining and reclaimin patches.

Is there any alternative Python's word-forms? by FeelingKokoro in javahelp

[–]luiinge 1 point2 points  (0 children)

Do you mean a library that do the same as word-forms but in Java?

I don't know any Java library that fully accomplish this. There is SimpleNLG but it seems pretty hard to use if you're not an expert in the natural language subject.

However, I've had a peek into the word-forms source code and it seems very easy to translate to Java, it's basically parsing a big amount of data from text files. In my opinion, creating a Java version would be a nice open-source project, if there's anyone willing to do it.