nomemory / aleph-formatter

A simple and efficient StringFormatter that supports named parameters (with a twist)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add more unit tests to cover edge-case-scenarios

nomemory opened this issue · comments

Add more unit tests to cover edge-case-scenarios

What sort of edge-case scenarios do you have in mind?

@arjvik

If we analyse the test coverage the library doesn't look great.

When I refer to edge-case scenarios I refer testing the library with "extreme strings" - multiple escape characters one to another, weird expressions inside the #{}, null values supplied to the methods for the api, etc.