Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New blog: Why we should write tests for our production code #246

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

tilak-patidar
Copy link
Contributor

What did you do?

  • Added a new blog

Please include a summary of the changes.

  • Added this
  • Updated that

Why did you do it?

Why were these changes made?

  • This was missing
  • that needed changes

Screenshots (Please include if anything visual)

Include any relevant screenshots that may help explain the change.

@@ -0,0 +1,108 @@
+++
title = "Why We Should Write Tests for Our Production Code"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we change the blog title a bit
Here are some suggestions from gpt

image

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes sure we can change it, what about the last one Testing Production Code: Why It's Essential?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To make it a bit more engaging: "Its 2025 and you should not write code without tests", goes with the suggestion in my previous comment

type = ""
+++

_(Insights from Clean Code by Robert C. Martin, Chapter 9: Unit Tests)_
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lets link the book / chapter here

Copy link
Collaborator

@2KAbhishek 2KAbhishek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@tilak-patidar the content looks good, I think it might be worthwhile to have a separate intro and conclusion

The intro can be along the lines of why shipping code without tests should be a total no in 2025, expand on that on a bit and then give a bit of context about the book and then go in

on the conclusion front you can mention things like what other benefits can come out of this, e.g mention how CI/CD can be brought in with automation testing

Ideas you can look into

tilak-patidar and others added 4 commits January 6, 2025 13:47
Co-authored-by: Abhishek Keshri <iam2kabhishek@gmail.com>
Co-authored-by: Abhishek Keshri <iam2kabhishek@gmail.com>
Co-authored-by: Abhishek Keshri <iam2kabhishek@gmail.com>
Co-authored-by: Abhishek Keshri <iam2kabhishek@gmail.com>
@tilak-patidar
Copy link
Contributor Author

@tilak-patidar the content looks good, I think it might be worthwhile to have a separate intro and conclusion

The intro can be along the lines of why shipping code without tests should be a total no in 2025, expand on that on a bit and then give a bit of context about the book and then go in

on the conclusion front you can mention things like what other benefits can come out of this, e.g mention how CI/CD can be brought in with automation testing

Ideas you can look into

Thank you for suggesting more improvements, I'll look into it and will add something.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants