Unit Testing Framework for n8n: Preview from the Prague Meetup (Sept 2024)

In this talk from the n8n Meetup in Prague, n8n Ambassador @liam shares an early preview of the unit testing framework he’s been developing for n8n.

(We had some problems with recording the audio, so you’ll notice some difference in quality throughout the video)

Links:

5 Likes

This is impressive! Very well done @liam. I definitely have to check it out.

Pretty sure you have it on your list of ideas already - I think it would be great to have additionally to the mail notifications an overview of passed/failed tests within the UI, which would allow to quickly jump to the affected nodes.

2 Likes

Thank you!

The idea I have for that is to have GitHub style checkbox at the top that Is a drop-down to a summary of the last test runs

So it will be a red x if there are fails with a fraction showing how many tests passed to how many there are

Is that kinda what you mean?

Yes, sounds great. So I believe this dropdown would contain a list including specific error messages and the user could maybe even click on them to jump to the affected node.

Yes something like that. Also, something on the node would be cool to have showing that it has failed the last time it ran

Those two things are not really a priority for me right now though. I will be focusing on just getting it production ready so that I can start using it

1 Like

That’s an awesome feature! Congratulations, @liam !
Thank you for contributing to the project and the community :pray:

2 Likes

Hi @liam – I hope you’re doing great!

Is there any progress related to your unit testing framework? The guy from the front row is still interested :slight_smile:

All the best, and thanks for your work!
Honza

2 Likes

Hey @honzapav!

n8n completely rebuilt the canvas from scratch, which is where all of my code changes were.

It shouldn’t be too bad to migrate but I am waiting for it to be stable before starting.

I will come back to this thread and give a heads up when it’s working, but i don’t expect that to be until at least until q3-q4 this year unfortunately

3 Likes

This is amazing, came in to the community forum to see if there is anything related to unit tests in n8n after speaking about it to a friend of mine earlier today.

I am somewhat new to the n8n community and not so sure how this continued its development. I am seeing that the Github fork with the implementation has been archived on the 4th of August 2025, is that because this has been added into the main n8n repo and its already implemented or was it because the idea has not moved forward?

I am a software engineer and I come from doing hands-on coding, seeing this was pretty exciting.

Edit: just noticed on Liam’s repo that the n8n is working (or have worked) internally on it. Would appreciate it if somebody can share with me more information regarding testing in n8n, thank you.

Hi @ayoubhr !

Unfortunately I didn’t follow through with the project. The main reason is there is a built in eval feature that is similar. It doesn’t check all the boxes yet but I hope one day will

Sorry to disappoint!