---
title: "Discussion on \"Pure Junit 5 in maven module\" | Hashnode"
description: "Discussion on \"Pure Junit 5 in maven module\". Mixing junit 4 and junit 5 cause a little confusion, document says:\n\nIf you are using JUnit 4, don’t forget to also add @RunWith(SpringRunner.class) to your test, otherwise the annotations will be ignored. If you are using JUnit 5, there’s no need to..."
url: "https://hashnode.com/posts/pure-junit-5-in-maven-module/5e9190a4c492833a1752e547"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Pure Junit 5 in maven module](https://kenhu.hashnode.dev/pure-junit-5-in-maven-module?utm_source=hashnode&utm_medium=feed)

Mixing junit 4 and junit 5 cause a little confusion, document says: If you are using JUnit 4, don’t forget to also add @RunWith(SpringRunner.class) to your test, otherwise the annotations will be ignored. If you are using JUnit 5, there’s no need to...

Apr 11, 2020 · kenhu.hashnode.dev  
Read the article

## Written by

[Ken Hu](https://hashnode.com/@kenhu)

@kenhu · Kaohsiung, Taiwan

  
[View profile](https://hashnode.com/@kenhu)

Software Developer and Product Manager

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
