Skip to content
This repository was archived by the owner on May 24, 2024. It is now read-only.

Adding Tests to Twigify#2

Closed
scottwarren wants to merge 6 commits into
dane-harnett:masterfrom
scottwarren:master
Closed

Adding Tests to Twigify#2
scottwarren wants to merge 6 commits into
dane-harnett:masterfrom
scottwarren:master

Conversation

@scottwarren

Copy link
Copy Markdown
Collaborator

Currently a WIP, but would like to re-integrate sooner rather than later.

I will consider this a success when the test coverage is higher than what it is. Currently it is:

Coverage summary

Statements : 60% ( 18/30 )
Branches : 50% ( 1/2 )
Functions : 40% ( 2/5 )
Lines : 58.62% ( 17/29 )


I have also added a Travis CI base so you can run the build on Travis (you will need to make an account and link it)

I added a readme with this PR as well.

@dane-harnett

Copy link
Copy Markdown
Owner

Looking good, might have to make some changes to this as I have realised that my code won't work with embedded includes. I think a change to the twig core is going to be required.

@scottwarren

Copy link
Copy Markdown
Collaborator Author

No worries. When you do I can merge it in :-)

@scottwarren

Copy link
Copy Markdown
Collaborator Author

might have to look at https://github.com/zertosh/jstify/blob/master/test/test.js to improve tests

@scottwarren

Copy link
Copy Markdown
Collaborator Author

with PR's incoming, it'd be good to revive this @dane-harnett, what do you think?

@dane-harnett

Copy link
Copy Markdown
Owner

@scottwarren Unfortunately I don't think it's worth my time, browserify seems to have lost to webpack, and twigjs seems to have lost to react. I know people might be wanting to use this in the mean time or with legacy systems happy for you to merge the PR's or add more collaborators if they really want it.

@scottwarren

Copy link
Copy Markdown
Collaborator Author

@dane-harnett fair enough - likely will need to merge #9 to fix #8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants