-
-
Notifications
You must be signed in to change notification settings - Fork 666
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
Ginkgo 2.0 Proposal #711
Comments
This proposal has been publicly available for three weeks. After receiving some helpful feedback that has made its way into the proposal I think it's time to start development. |
|
Ginkgo V2 is an extensive effort to clean up the Ginkgo codebase and introduce several new highly-requested features. This first public release represents a significant clean up of the codebase, deprecation of several pieces of functionality that wil not be making it into V2, and the beginnings of some new functionality. Details of changes so far are in the `docs/MIGRATING_TO_V2.md` file. More extensive discussion of V2 is in #711 and the google doc linked there.
The first iteration of V2 is out on the ver2 branch. There are a few new features on that branch, and most of the deprecations/removals lists in the V2 doc. I'll be adding new functionality over the coming weeks/months. This changelog + migration doc: I'll be removing the GitHub v2 project in favor of this Pivotal Tracker backlog that I'm using: |
Ginkgo V2 is an extensive effort to clean up the Ginkgo codebase and introduce several new highly-requested features. This first public release represents a significant clean up of the codebase, deprecation of several pieces of functionality that wil not be making it into V2, and the beginnings of some new functionality. Details of changes so far are in the `docs/MIGRATING_TO_V2.md` file. More extensive discussion of V2 is in #711 and the google doc linked there.
Ginkgo V2 is an extensive effort to clean up the Ginkgo codebase and introduce several new highly-requested features. This first public release represents a significant clean up of the codebase, deprecation of several pieces of functionality that wil not be making it into V2, and the beginnings of some new functionality. Details of changes so far are in the `docs/MIGRATING_TO_V2.md` file. More extensive discussion of V2 is in #711 and the google doc linked there.
I just got this "warning" : We have been using customer reporters for our kubernetes tests. Kubernetes test framework is based on Ginkgo. We have reports for storing test reports to databases that require specific data structures. |
hey @mbalcomm - so glad to hear that that deprecation warning caught your eye. I've been looking to get some early feedback :) To confirm - you've read the Reporting Infrastructure section in For your use case, assuming you don't need to emit test information in real time, I would expect that adding
would be a working starting point. Please let me know if you're seeing issues with that approach. A few additional questions:
Thanks! |
@onsi Thanks for your responses!
|
Hey @mbalcomm: Thanks for your reply. Some thoughts:
At the same time, the main reason that In any event, the behavior of
Have you written a custom reporter to emit to Allure? If so that should continue to work via The other piece of reporting infrastructure that is coming in V2 will be to support things like attachments. So users can do stuff like:
Where value can be any object. Ginkgo will include the passed in key:value pair in the generated report allowing it to be exported as desired.
|
Ginkgo V2 is an extensive effort to clean up the Ginkgo codebase and introduce several new highly-requested features. This first public release represents a significant clean up of the codebase, deprecation of several pieces of functionality that wil not be making it into V2, and the beginnings of some new functionality. Details of changes so far are in the `docs/MIGRATING_TO_V2.md` file. More extensive discussion of V2 is in #711 and the google doc linked there.
Quick Comment: We are using a custom reporter and not ready to migrate to v2 until v2 is out of beta/stable. So, in the mean time, whenever we run tests we get those several lines of deprecation warning text eating up screen space (and attention). It would be super helpful if there was a way to disable the deprecation warnings via flag or env var or otherwise. :) |
Ginkgo V2 is an extensive effort to clean up the Ginkgo codebase and introduce several new highly-requested features. This first public release represents a significant clean up of the codebase, deprecation of several pieces of functionality that wil not be making it into V2, and the beginnings of some new functionality. Details of changes so far are in the `docs/MIGRATING_TO_V2.md` file. More extensive discussion of V2 is in #711 and the google doc linked there.
Ginkgo V2 is an extensive effort to clean up the Ginkgo codebase and introduce several new highly-requested features. This first public release represents a significant clean up of the codebase, deprecation of several pieces of functionality that wil not be making it into V2, and the beginnings of some new functionality. Details of changes so far are in the `docs/MIGRATING_TO_V2.md` file. More extensive discussion of V2 is in #711 and the google doc linked there.
I am experimenting with v2 and I am interested in the test label feature. It appears that this feature is not there yet. Is this feature still planned for v2 and when will that feature be available? |
Yep - still planned. Summer schedules have slowed down development a bit so i'm having a harder time reasoning about the timeline but i'm hoping to get to that feature in the next couple 2ish months. |
We were using custom reporters to send information to TestRail. It looks like the |
thanks @chrisdoherty4 ! |
After the deprecation custom reports will the any built in reports allow for integration with Goland which seems to only play nice with the go test format? Reports like https://github.com/SemanticallyNull/golandreporter which provide real time feedback |
hey @LittleFox94 - thanks for sharing this. Indeed the semantics for I could imagine changing things around so that In this particular case I'd suggest avoiding using a nested
|
@LittleFox94 i've thought about it more and think your intuition around how outer Would love to hear from you and others on this thread if folks have any thoughts/opinions. @LittleFox94 in your case would it work for the |
first: sorry for not having answered to your first reply, that task was pushed aside for now and the notification email still in inbox to process at some point ^^' In my case |
Thanks. I don't think it's a super huge change since |
Hm yes, that makes sense |
Hello, I am looking for a way to integrate some reporting about the progress of Ginkgo into our own log file. |
hey @kgadams - the topic of V2's reporting infrastructure is covered in the migration guide here. In brief: you can probably accomplish what you want using Lastly - the new V2 documentation goes into the reporting infrastructure in a bit more depth than the migrating guide. You can check that out here. |
Ok, thank you, that looks good to me.
Thanks again 👍 |
hey @LittleFox94 I changed tack and ended up leaving the default seating of |
Hey all - we're super close to the GA here. I just pushed out one last release candidate. rc3 is now out and includes the new I hope to have the 2.0 GA out before the new year! |
looks good to me, I like this solution :) |
🎉🎉 🎉 After many months - and just before we all ring in the new year - I'm super happy to share that Ginkgo 2.0 is now officially GA. The v2.0.0 code is now tagged and on master. Huge thanks to the many users who gave the betas and RCs a try and provided so much valuable feedback to make this release what it is today. 🎉🎉 🎉 |
… RC flag as suggested onsi/ginkgo#711
…tace Updating infrastructure in ec2 instance update flow CFE-68: revert the tag updation Updating infrastructure in ec2 instance update flow incorporate review comments adding logs to test the tags for update flow Correcting formate changes for logs fix panic: panic while creating infracture tags fix panic: panic while creating infracture tags update the missed tags and update the resource tags from Infracture cluster fixing CI failure fixing unit testcases Unit test case correction & enhance delta tags Reading only from infracture CR and update EC2 instance CFE-68 : MOdifying the infrastructure resource tag logic CFE-68 : MOdifying the infrastructure resource tag logic CFE-68 : MOdifying the infrastructure resource tag logic CFE-68 : MOdifying the infrastructure resource tag logic Adding few more logs to check the Code enhancement or creating custom tags Code enhancement to create custom tags Code enhancement to create custom tags Code enhancement to create custom tags Code enhancement to create custom tags Code enhancement to create custom tags incorporating Codereview comments On change in cluster tags EC2 instance will get update with latest tags ginkgo version having few issues related version support, so Included RC flag as suggested onsi/ginkgo#711 adding ACK_GINKGO_DEPRECATIONS=1.16.5 removing GinkGo flag g for unit test
�[38;5;228mGinkgo 2.0 is coming soon!�[0m �[38;5;228m==========================�[0m �[1m�[38;5;10mGinkgo 2.0�[0m is under active development and will introduce several new features, improvements, and a small handful of breaking changes. A release candidate for 2.0 is now available and 2.0 should GA in Fall 2021. �[1mPlease give the RC a try and send us feedback!�[0m - To learn more, view the migration guide at �[38;5;14m�[4mhttps://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md�[0m - For instructions on using the Release Candidate visit �[38;5;14m�[4mhttps://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#using-the-beta�[0m - To comment, chime in at �[38;5;14m�[4mhttps://github.com/onsi/ginkgo/issues/711�[0m To �[1m�[38;5;204msilence this notice�[0m, set the environment variable: �[1mACK_GINKGO_RC=true�[0m Alternatively you can: �[1mtouch $HOME/.ack-ginkgo-rc�[0m
When running tests in verbose mode `go test -v ...` you would see a warning. ``` You're using deprecated Ginkgo functionality: ============================================= Ginkgo 2.0 is under active development and will introduce several new features, improvements, and a small handful of breaking changes. A release candidate for 2.0 is now available and 2.0 should GA in Fall 2021. Please give the RC a try and send us feedback! - To learn more, view the migration guide at https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md - For instructions on using the Release Candidate visit https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#using-the-beta - To comment, chime in at onsi/ginkgo#711 You are using a custom reporter. Support for custom reporters will likely be removed in V2. Most users were using them to generate junit or teamcity reports and this functionality will be merged into the core reporter. In addition, Ginkgo 2.0 will support emitting a JSON-formatted report that users can then manipulate to generate custom reports. If this change will be impactful to you please leave a comment on onsi/ginkgo#711 Learn more at: https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#removed-custom-reporters To silence deprecations that can be silenced set the following environment variable: ACK_GINKGO_DEPRECATIONS=1.16.5 ``` We have two places that use v1 `RunSpecsWithDefaultAndCustomReporters` These can be replaced with v2 `RunSpecs` See here for details: https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#removed-custom-reporters easyfix Signed-off-by: Jon Disnard <[email protected]>
When running tests in verbose mode `go test -v ...` you would see a warning. ``` You're using deprecated Ginkgo functionality: ============================================= Ginkgo 2.0 is under active development and will introduce several new features, improvements, and a small handful of breaking changes. A release candidate for 2.0 is now available and 2.0 should GA in Fall 2021. Please give the RC a try and send us feedback! - To learn more, view the migration guide at https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md - For instructions on using the Release Candidate visit https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#using-the-beta - To comment, chime in at onsi/ginkgo#711 You are using a custom reporter. Support for custom reporters will likely be removed in V2. Most users were using them to generate junit or teamcity reports and this functionality will be merged into the core reporter. In addition, Ginkgo 2.0 will support emitting a JSON-formatted report that users can then manipulate to generate custom reports. If this change will be impactful to you please leave a comment on onsi/ginkgo#711 Learn more at: https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#removed-custom-reporters To silence deprecations that can be silenced set the following environment variable: ACK_GINKGO_DEPRECATIONS=1.16.5 ``` We have two places that use v1 `RunSpecsWithDefaultAndCustomReporters` These can be replaced with v2 `RunSpecs` See here for details: https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#removed-custom-reporters easyfix Signed-off-by: Jon Disnard <[email protected]>
When running tests in verbose mode `go test -v ...` you would see a warning. ``` You're using deprecated Ginkgo functionality: ============================================= Ginkgo 2.0 is under active development and will introduce several new features, improvements, and a small handful of breaking changes. A release candidate for 2.0 is now available and 2.0 should GA in Fall 2021. Please give the RC a try and send us feedback! - To learn more, view the migration guide at https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md - For instructions on using the Release Candidate visit https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#using-the-beta - To comment, chime in at onsi/ginkgo#711 You are using a custom reporter. Support for custom reporters will likely be removed in V2. Most users were using them to generate junit or teamcity reports and this functionality will be merged into the core reporter. In addition, Ginkgo 2.0 will support emitting a JSON-formatted report that users can then manipulate to generate custom reports. If this change will be impactful to you please leave a comment on onsi/ginkgo#711 Learn more at: https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#removed-custom-reporters To silence deprecations that can be silenced set the following environment variable: ACK_GINKGO_DEPRECATIONS=1.16.5 ``` We have two places that use v1 `RunSpecsWithDefaultAndCustomReporters` These can be replaced with v2 `RunSpecs` See here for details: https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#removed-custom-reporters easyfix Signed-off-by: Jon Disnard <[email protected]>
When running tests in verbose mode `go test -v ...` you would see a warning. ``` You're using deprecated Ginkgo functionality: ============================================= Ginkgo 2.0 is under active development and will introduce several new features, improvements, and a small handful of breaking changes. A release candidate for 2.0 is now available and 2.0 should GA in Fall 2021. Please give the RC a try and send us feedback! - To learn more, view the migration guide at https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md - For instructions on using the Release Candidate visit https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#using-the-beta - To comment, chime in at onsi/ginkgo#711 You are using a custom reporter. Support for custom reporters will likely be removed in V2. Most users were using them to generate junit or teamcity reports and this functionality will be merged into the core reporter. In addition, Ginkgo 2.0 will support emitting a JSON-formatted report that users can then manipulate to generate custom reports. If this change will be impactful to you please leave a comment on onsi/ginkgo#711 Learn more at: https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#removed-custom-reporters To silence deprecations that can be silenced set the following environment variable: ACK_GINKGO_DEPRECATIONS=1.16.5 ``` We have two places that use v1 `RunSpecsWithDefaultAndCustomReporters` These can be replaced with v2 `RunSpecs` See here for details: https://github.com/onsi/ginkgo/blob/ver2/docs/MIGRATING_TO_V2.md#removed-custom-reporters easyfix Signed-off-by: Jon Disnard <[email protected]>
The first commit to Ginkgo was on August 19th, 2013. Much fruitful community feedback - and code cruft - have accumulated over the years. Both can be addressed with a new major version of Ginkgo: Ginkgo 2.0.
The backlog capturing the work is here: https://www.pivotaltracker.com/n/projects/2493102
The original proposal for Ginkgo 2.0 has been pulled together as a google doc here. Note that the google doc is now stale - the Tracker backlog reflects the latest work most accurately.
V2 is in active development on the ver2 branch and an uptodate changelog and migration doc is maintained on the branch here
If you use Ginkgo and are interested in what's in 2.0 please comment on this issue!
The text was updated successfully, but these errors were encountered: