Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Allow for Embedded TypeScript to be used to emulate behavior of subroutines for testing purposes. #8

Open
M-T3K opened this issue Nov 1, 2022 · 1 comment

Comments

@M-T3K
Copy link
Owner

M-T3K commented Nov 1, 2022

Suppose you want a subroutine to do a task by splitting it into smaller subroutines. Testing the bigger subroutine becomes increasingly difficult, specially if you cannot ensure that the smaller subroutine is correct.

An embedded TS subroutine could allow to emulate, in a higher level language (TS), the results of the subroutine so that when testing the larger subroutine you can be sure that no smaller subroutines are failing.

NOTE: This only works as long as your higher level code isn't wrong.

@M-T3K
Copy link
Owner Author

M-T3K commented Nov 6, 2022

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant