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

feature: add new event ResultTestVariablesAfterTransmissionEvent #2425

Conversation

Karol-Stelmaczonek
Copy link
Contributor

@Karol-Stelmaczonek Karol-Stelmaczonek commented Dec 5, 2023

Ticket: https://oat-sa.atlassian.net/browse/INF-235

What's Changed

  • add new event ResultTestVariablesAfterTransmissionEvent
Screenshare.-.2023-12-06.10_31_04.AM.mp4

@codecov-commenter
Copy link

codecov-commenter commented Dec 5, 2023

Codecov Report

Attention: 52 lines in your changes are missing coverage. Please review.

Comparison is base (c68ace7) 16.94% compared to head (8318b4e) 16.88%.
Report is 15 commits behind head on develop.

Files Patch % Lines
...ionEventHandler/ResultTransmissionEventHandler.php 0.00% 28 Missing ⚠️
models/classes/event/TestVariablesRecorded.php 0.00% 12 Missing ⚠️
helpers/class.TestSession.php 0.00% 9 Missing ⚠️
...ses/event/ResultTestVariablesTransmissionEvent.php 0.00% 3 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #2425      +/-   ##
=============================================
- Coverage      16.94%   16.88%   -0.06%     
- Complexity      3203     3222      +19     
=============================================
  Files            208      209       +1     
  Lines          11542    11594      +52     
=============================================
+ Hits            1956     1958       +2     
- Misses          9586     9636      +50     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Karol-Stelmaczonek Karol-Stelmaczonek marked this pull request as ready for review December 5, 2023 14:57
helpers/class.TestSession.php Outdated Show resolved Hide resolved
helpers/class.TestSession.php Outdated Show resolved Hide resolved
@pribi
Copy link

pribi commented Dec 6, 2023

Can you please add test coverage to the new code created?

Copy link

github-actions bot commented Dec 6, 2023

Front-end summary Node 18

💯 Total ✅ Passed ⏭️ Skipped ❌ Failed
708 708 0 0

helpers/class.TestSession.php Outdated Show resolved Hide resolved
helpers/class.TestSession.php Outdated Show resolved Hide resolved
Copy link
Contributor

@pnal pnal left a comment

Choose a reason for hiding this comment

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

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful

Copy link

github-actions bot commented Dec 8, 2023

Version

Target Version 48.2.0
Last version 48.1.1

There are 0 BREAKING CHANGE, 3 features, 4 fixes

Copy link
Contributor

@andreluizmachado andreluizmachado left a comment

Choose a reason for hiding this comment

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

  • New code is covered by tests (if applicable)
  • Tests are running successfully (old and new ones) on my local machine (if applicable)
  • New code is respecting code style rules
  • New code is respecting best practices
  • New code is not subject to concurrency issues (if applicable)
  • Feature is working correctly on my local machine (if applicable)
  • Acceptance criteria are respected
  • Pull request title and description are meaningful
  • Pull request's target is not master

Copy link

@pribi pribi left a comment

Choose a reason for hiding this comment

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

LGTM, but not tested.

@Karol-Stelmaczonek Karol-Stelmaczonek merged commit e67ac34 into develop Dec 13, 2023
5 of 6 checks passed
Karol-Stelmaczonek added a commit that referenced this pull request Dec 13, 2023
* feature: add new event ResultTestVariablesAfterTransmissionEvent

* feature: rewrite LtiAgsListener

* fix: codestyle

* fix: codestyle

* fix: code review

* feature: change to TestVariablesRecorded, and use it in ResultTransmissionEventHandler

* fix: code review fixes

(cherry picked from commit e67ac34)
Karol-Stelmaczonek added a commit that referenced this pull request Dec 13, 2023
feature: add new event ResultTestVariablesAfterTransmissionEvent (#2425)
Karol-Stelmaczonek added a commit that referenced this pull request Dec 15, 2023
* feature: add new event ResultTestVariablesAfterTransmissionEvent

* feature: rewrite LtiAgsListener

* fix: codestyle

* fix: codestyle

* fix: code review

* feature: change to TestVariablesRecorded, and use it in ResultTransmissionEventHandler

* fix: code review fixes

(cherry picked from commit e67ac34)
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.

5 participants