Skip to content
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

Unit test coverage #39

Open
49 of 66 tasks
enceladus opened this issue Sep 28, 2022 · 1 comment
Open
49 of 66 tasks

Unit test coverage #39

enceladus opened this issue Sep 28, 2022 · 1 comment
Assignees
Labels
good first issue Good for newcomers

Comments

@enceladus
Copy link
Collaborator

enceladus commented Sep 28, 2022

I started writing some Jest tests (eea446c). Tracking coverage here.

algonaut core offline methods

  • decodeBase64UnsignedTransaction
  • new Algonaut()
  • isValidConfig
  • getConfig
  • setConfig
  • createWallet
  • recoverAccount
  • decodeStateArray - via getAppInfo
  • encodeArguments - implicit
  • b64StrToHumanStr
  • stateArrayToObject
  • setAccount
  • toUint8Array
  • txnSummary
  • getAppEscrowAccount
  • valueAsAddr

algonaut core online methods

  • normalizeTxns - with more than 1 txn
  • sendTransaction with callbacks
  • compileProgram
  • atomicCallApp
  • callApp
  • atomicCloseOutApp
  • closeOutApp
  • atomicCreateApp
  • createApp
  • atomicCreateAsset
  • createAsset
  • atomicDeleteApplication
  • deleteApplication
  • atomicDeleteAsset
  • deleteAsset
  • atomicOptInApp
  • atomicOptInAsset
  • atomicPayment
  • atomicSendAsset
  • atomicUpdateApp
  • checkStatus
  • getAccountInfo
  • getAlgoBalance
  • getAppGlobalState
  • getAppInfo
  • getAppLocalState
  • getAssetInfo
  • getTokenBalance
  • isOptedIntoAsset
  • optInApp
  • optInAsset
  • updateApp
  • waitForConfirmation (implicit)
  • sendAlgo
  • sendAsset
  • sendTransaction (implicit)

inkey methods

  • inkeyConnect
  • inkeyDisconnect
  • inkeyHide
  • inkeyShow

any-wallet new stuff

  • connect
  • disconnect
  • disconnectAll
  • reconnect

logic sig

  • atomicAssetTransferWithLSig
  • atomicCallAppWithLSig
  • atomicPaymentWithLSig
  • deployTealWithLSig
  • generateLogicSig

multi sig

  • use multiSigMetadata arg + test threshold signing etc
@enceladus enceladus self-assigned this Sep 28, 2022
enceladus added a commit that referenced this issue Sep 28, 2022
@enceladus enceladus added the good first issue Good for newcomers label Sep 28, 2022
enceladus added a commit that referenced this issue Sep 30, 2022
enceladus added a commit that referenced this issue Oct 4, 2022
enceladus added a commit that referenced this issue Oct 4, 2022
enceladus added a commit that referenced this issue Oct 4, 2022
@enceladus
Copy link
Collaborator Author

According to Jest we're at 65.44% coverage! Getting there...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant