Selenium is an integration test framework with C# bindings. We can use it with test email accounts to send and receive emails from code and tests.

If you write .NET applications you probably deal with email addresses at some point: for user sign-up, email newsletters, password resets and more. If you want to test this functionality end-to-end you need test email accounts.

MailSlurp is a free API that lets you create email addresses in C# then…

How to send and receive emails in Cypress integration tests using Javascript and the free MailSlurp library.

What is Cypress Js?

An example login form being tested with Cypress.

Cypress lets you test many parts of a website or web application with a browser in an automated way. It’s like Selenium but a lot more user-friendly.

Testing with real email addresses

Create embeddable HTML forms that submit directly to your email address.

With MailSlurp you can receive form submissions directly to your email address — no server or Javascript required. Plus it’s free :)

Why? (it’s simple and free)

1. Create an HTML form

Quickly graph and visualize your data with an open-source data platform.

Redash is an open-source data visualization tool that is easily deployed to with Terraform and AWS.

What is Redash?

Why deploy self-hosted Redash?

How to create email addresses dynamically in code to test your app’s user sign-up, email confirmation, and password reset properly.

How do you test email confirmation steps E2E?

Background

Email testing APIs

End-to-end testing with real email addresses. Unlimited test email accounts for applications or tests. Free for personal use!

Edit: since originally publish we made a new guide with detailed examples!

About

Cypress let’s you test many parts of a website or web application with a browser in an automated way. …

MailSlurp | Email APIs for developers

Test Email API for end-to-end with real email addresses. Support for NodeJS, PHP, Python, Ruby, Java, C# and more. See https://www.mailslurp.com for details.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store