corde

🤖 A simple e2e library for testing Discord Bots 🚀

MIT License

Downloads
292
Stars
121
Committers
9

Bot releases are hidden (Show)

corde - 4.1.0-beta.5

Published by lucasgmagalhaes over 3 years ago

fix logger printing.

corde - 4.0.4

Published by lucasgmagalhaes over 3 years ago

💡 Miscellaneous

  • Fix tests pattern in README
corde - 4.0.3

Published by lucasgmagalhaes over 3 years ago

🐛 Bug Fixes

  • Fix tests read following a pattern #714
corde - 4.0.2

Published by lucasgmagalhaes over 3 years ago

🐛 Bug Fixes

  • fix corde execution due to CRLF format files
corde - 4.0.1

Published by lucasgmagalhaes over 3 years ago

💡 Miscellaneous

  • upgrade chalk from 4.1.0 to 4.1.1
  • upgrade commander from 7.0.0 to 7.2.0
  • upgrade discord.js from 12.2.0 to 12.5.3
  • upgrade glob from 7.1.6 to 7.1.7
  • upgrade ora from 5.0.0 to 5.4.0
  • upgrade tslib from 2.1.0 to 2.2.0
corde - 4.1.0-beta.4

Published by lucasgmagalhaes over 3 years ago

🐛 Bug Fixes

  • Fix corde initialization
corde - v4.1.0-beta.2

Published by lucasgmagalhaes over 3 years ago

🚀 Features

  • Addition of createMock function
corde - 4.0.0

Published by lucasgmagalhaes over 3 years ago

💣 Breaking changes

  • Define test files and ignore files using regex patterns. (#695)(#677)

🐛 Bug Fixes

  • Corde validation error is being silent (#676)(#677)

🚀 Features

  • Disable timeout when running corde in debugging (#675)(#677)
corde - 3.1.5

Published by lucasgmagalhaes over 3 years ago

💡 Miscellaneous

  • bump devDependency dotenv from 8.5.1 to 9.0.2
  • bump devDependency @types/node from 15.0.2 to 15.0.3
  • bump devDependency @babel/core from 7.14.0 to 7.14.2
  • bump devDependency prettier from 2.2.1 to 2.3.0
  • bump devDependency dependency-cruiser from 9.26.1 to 10.0.1
  • bump devDependency ts-jest from 26.5.5 to 26.5.6
  • bump devDependency @babel/preset-env from 7.14.1 to 7.14.2
corde - 4.0.0-beta.1

Published by lucasgmagalhaes over 3 years ago

corde - 3.1.5-beta.1

Published by lucasgmagalhaes over 3 years ago

corde - 3.1.4

Published by lucasgmagalhaes over 3 years ago

💡 Miscellaneous

  • Bump dependencies version
corde - 3.1.3

Published by lucasgmagalhaes over 3 years ago

Change repo location in package.json

corde - 3.1.2

Published by lucasgmagalhaes over 3 years ago

🐛 Bug Fixes

  • Fix new line ending conflicting in unix operation systems (#641)
corde - 3.1.0

Published by lucasgmagalhaes over 3 years ago

🚀 Features

  • Addition of inChannel, inGuild and toHaveResult operators (#620, #604, #605)
  • Allow expect command to send the message in another channel(#618)

🐛 Bug Fixes

  • Fix fix a bug that prevents corde to assert tests only in the defined channel and guild (#619)

  • Fix error no treated in console (#598)

  • 💡 Miscellaneous

  • Several typos fixes.

corde - 3.1.0-beta.1

Published by lucasgmagalhaes over 3 years ago

  • Added toHaveResult, toReturnInChannel and make expect get tests functions without calling it.
corde - 3.0.3

Published by lucasgmagalhaes over 3 years ago

Update README

corde - 3.0.2

Published by lucasgmagalhaes over 3 years ago

💡 Miscellaneous

  • Bump some dependencies
  • Fix word spells in code documentation
corde - 3.0.1

Published by lucasgmagalhaes over 3 years ago

💣 Breaking changes

  • toEditMessage and toReturn no longer accepts a MessageEmbed object. Instead, it accepts a object that matches with MessageEmbedLike interface.
  • toAddReaction now receives two parameters: The reactions and the indentifier of the message where the reactions must be added.
    But it's optional.

🚀 Features

  • Full rework of UI of the CLI (#362)
  • Added timeout for group and test clausures (#505)
  • Created alias for group and test (describe and it respectively) (#493)
  • Added timeout for hooks(afterAll, beforeStart, afterEach, beforeEach) (#590)
  • Hooks executions are being done safely, so they do not breaks the application (#588)
  • Add environment variables on corde execution (#577)
  • Allowed group and test to receive any type as description (first parameter) (#492)
  • Added stack trace for tests that fail (#566)
  • Added getRole utility function for the api (#516)
  • Added createRole utility function for the api (#517)

🐛 Bug Fixes

  • Allow corde to accept tests with extensions different that *.test (#595)
  • Removed duplication of error display (#424)
  • Fix timeout not being loaded (#589)
  • Fix default value for tests timeout (#518)
  • Fix bug in Queue that prevents async code to be waited (#529)

💡 Miscellaneous

  • Renamed RoleData and MessageData to RoleIdentifier and MessageIdentifier (#583)
  • Remove prettier for code identation provenient from init command, replaced it by a corde's self placed code (#574)
corde - 3.0.0-beta.3

Published by lucasgmagalhaes over 3 years ago

Package Rankings
Top 4.92% on Npmjs.org
Related Projects