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

Testing anonymous posting feature for Topics and Posts-User Story 3 #47

Merged
merged 135 commits into from
Oct 20, 2024

Conversation

Hakaabi
Copy link

@Hakaabi Hakaabi commented Oct 15, 2024

Made a new branch off of the branch 'adding-anonymous-sprint1' to test the front and back-end implementation of the Anonymous feature.

Files modified and why:

1.test/api.js
Updated to handle the inclusion of 'isAnonymous' field in the schema and ensure alignment with the database changes.

2.test/posts.js
Added automated test cases to verify anonymous post creation, default non-anonymous posting, and the correct handling of the isAnonymous field in post specifications.

3.test/topics.js
Added automated test cases for anonymous topic creation, ensuring default topics are non-anonymous, and verifying the correct handling of the isAnonymous field in topic specifications.

These modifications were made to resolve this issue #33.

@coveralls
Copy link

coveralls commented Oct 15, 2024

Pull Request Test Coverage Report for Build 11365268078

Details

  • 27 of 30 (90.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.001%) to 82.75%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/topics/posts.js 9 12 75.0%
Totals Coverage Status
Change from base Build 11059941294: 0.001%
Covered Lines: 22379
Relevant Lines: 25627

💛 - Coveralls

@Hakaabi Hakaabi self-assigned this Oct 16, 2024
@Hakaabi Hakaabi added documentation Improvements or additions to documentation low effort low effort task UserStory3 labels Oct 16, 2024
@Hakaabi Hakaabi added this to the Sprint 2 milestone Oct 16, 2024
@Hakaabi Hakaabi changed the title Testing anonymous feature sprint2 Testing anonymous posting feature for Topics and Posts-User Story 3 Oct 16, 2024
Copy link

@zanzoonh zanzoonh left a comment

Choose a reason for hiding this comment

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

Looks good to me!

@Hakaabi Hakaabi merged commit 1b80ca3 into f24 Oct 20, 2024
1 check passed
Copy link

@AlAnoud2003 AlAnoud2003 left a comment

Choose a reason for hiding this comment

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

This code seems crucial to your work. The code looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation low effort low effort task UserStory3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants