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
Future of next-page-tester
#290
Comments
Is there a discussion somewhere on the next.js side (https://github.com/vercel/next.js/discussions) about the potential adoption of |
@rtrembecky I've been chatting with some folks at Vercel recently and mentioned those issues. They are aware and recently added something in this direction (vercel/next.js#31246), but this is not nearly what this library is providing. |
I'd love to understand what hooks you'd need into Next.js to not have to rely on internals. Could you share more? |
Hi @leerob, This involves, to mention a few:
Beside this, we often import TS types which are not exposed in public entry points. From my standpoint, there's nothing specific Next.js might do in order to help Maybe @Meemaw has different opinions/suggestions, though. |
Hey @toomuchdesign Did you want to transfer this repo to an organisation? I don’t know if @Meemaw is staying on but I can help if need be so that’s at least 2, potentially @leerob and some others. Of course if Vercel make some decision that would be great but we should be prepared for nothing coming out of that and having a working version for next v12. |
Hi @jasonwilliams, I'm 100% available to transfer this repo to an organization. As I said, I'd be happy not to see the efforts done so far get wasted. I know very little about how GitHub orgs work, any advice is welcome :) |
https://docs.github.com/en/repositories/creating-and-managing-repositories/transferring-a-repository You may have to create the organisation first, then transfer the repo into it. Then you can add people. |
So the zero-creativity outcome would be: |
Yep obvious naming is good |
I invited @Meemaw as a org administrator with full access. Not sure how to proceed with further members. |
Awesome! There’s a question around publishing but I will leave that with you. I often create a secret on the repo and publish from a GitHub action. Or a new @namespace gets created on npm, I don’t know. I think it’s worth you staying on as an admin too even if you have no time anymore, just in case something happens or we don’t hear from @Meemaw |
I'll help as much as time will permit. Can do code reviews for new PRs, but probably won't have time to work on some bigger things, e.g. |
As for publishing I guess we're going to need an |
The ability to catch runtime bugs ahead of time is invaluable; I can't recount the amount of bugs discovered at runtime that could've been caught through tests.
@leerob Is the Vercel team open to contributing to this package until there's a more official solution? Otherwise I'm not sure of any alternatives Appreciate all the contributions thus far. This is a great package! |
Hi @pelhage, |
@pelhage do you have a link to where this is mentioned? |
See #303 |
I open this issue to:
next-page-tester
users about the maintenance status of this librarynext-page-tester
anymorenext-page-tester
maintenance statusFor about one year @Meemaw and I have developed and maintained
next-page-tester
. I started this library to explore an alternative testing approach with Next.js and @Meemaw brought in so many good ideas.This testing approach proved to have pros and cons and enabled some valuable testing strategies. Since based on DOM testing, it proved to be able to cover a wide range of Next.js testing scenarios with the same tools used to test React component (eg.
testing-library
).next-page-tester
development/maintenance revealed to be quite problematic for a few reasons:It relies on a few Next.js internals which can change without notice in any moment. This means a lot of maintenance effort to align
next-page-tester
implementation with Next.js (and staying updated about Next.js internals evolution).It simplistically re-implements most of Next.js output (supported by TypeScript). This means any new Next.js feature has to be implemented/adjusted based on users' feedback/issues
There's no way to know whether
next-page-tester
will be able to support future Next.js features/versionsSince
next-page-tester
is not supported in any way by Next.js, it won't be able to reach a significant degree of adoption (for good reasons)For the reasons mentioned above
next-page-tester
is currently stuck over 2 major issues:Next.js v12 compatibility #281useDocument
option again #268Future of
next-page-tester
During the last year I haven't touched Next.js, and it's getting hard to follow it's evolution for the sole purpose of maintaining
next-page-tester
.I'm convinced that the main downside of this project consists of its maintenance being 100% dependent of Next.js evolution. I personally came to the conclusion that the only viable solution is letting Vercel decide whether they want to invest on such a testing strategy and let them expose some Next.js bindings to enable DOM testing.
Beside the 2 issues mentioned above, there are new features waiting to be implemented which I couldn't take care of.
In order to make further development easier I moved
next-page-tester
to a dedicated GitHub org. In the meanwhile @jasonwilliams joined maintainers team 🙌 .I'm still providing support and sharing my project-specific knowledge to possible contributors.
I big hand up to all the contributors who spent time and love on this project. You proved that open source can be sustainable and human friendly sometimes! ❤️
The text was updated successfully, but these errors were encountered: