Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Expect
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Alternatives == Various projects implement Expect-like functionality in other languages, such as [[C Sharp (programming language)|C#]], [[Java (programming language)|Java]], [[Scala (programming language)|Scala]], [[Groovy programming language|Groovy]], [[Perl]], [[Python (programming language)|Python]], [[Ruby (programming language)|Ruby]], [[Shell script|Shell]] and [[Go (programming language)|Go]]. These are generally not exact clones of the original Expect, but the concepts tend to be very similar. === C# === * [https://web.archive.org/web/20131224094314/http://blog.iwanek.eu/expect-net/ Expect.NET] β Expect functionality for C# (.NET) * [https://github.com/CBonnell/dotnetexpect DotNetExpect] β An Expect-inspired console automation library for .NET === Erlang === * [https://github.com/hawk/lux lux] - test automation framework with Expect style execution commands. === Go === * [https://github.com/google/goexpect GoExpect] - Expect-like package for the Go language * [https://github.com/Netflix/go-expect go-expect] - an Expect-like Go language library to automate control of terminal or console based programs. === Groovy === *[https://github.com/iTransformers/expect4groovy expect4groovy] - a Groovy DSL implementation of Expect tool. === Java === *[https://github.com/Alexey1Gavrilov/ExpectIt ExpectIt] β a pure Java 1.6+ implementation of the Expect tool. It is designed to be simple, easy to use and extensible. *[https://github.com/cverges/expect4j expect4j] β an attempt at a Java clone of the original Expect * [http://expectj.sourceforge.net/ ExpectJ] β a Java implementation of the Unix expect utility * [https://github.com/ronniedong/Expect-for-Java Expect-for-Java] β pure Java implementation of the Expect tool * [https://github.com/iTransformers/expect4java expect4java] - a Java implementation of the Expect tool, but supports nested closures. There is also wrapper for Groovy language DSL. === Perl === * [http://sourceforge.net/projects/expectperl Expect.pm] β [[Perl]] module (newest version at [https://metacpan.org/pod/Expect metacpan.org]) === Python === * [https://github.com/pexpect/pexpect Pexpect] β [[Python (programming language)|Python]] module for controlling interactive programs in a pseudo-terminal * [https://pypi.python.org/pypi/winpexpect winpexpect] β port of pexpect to the Windows platform * [https://github.com/fgimian/paramiko-expect paramiko-expect] β A Python expect-like extension for the Paramiko [[Secure Shell|SSH]] library which also supports tailing logs. === Ruby === * [https://web.archive.org/web/20170311165445/http://rubyforge.org/projects/rexpect RExpect] β a drop in replacement for the expect.rb module in the standard library. * [https://github.com/jesnault/expect4r Expect4r] β Interact with Cisco IOS, IOS-XR, and Juniper JUNOS CLI === Rust === * [https://crates.io/crates/rexpect rexpect] - pexpect-like package for the Rust language. === Scala === * [https://github.com/Lasering/scala-expect scala-expect] β a Scala implementation of a very small subset of the Expect tool. === Shell === * [http://empty.sourceforge.net Empty] β expect-like utility to run interactive commands in the Unix shell-scripts * [https://github.com/clarkwang/sexpect sexpect] β Expect for shells. It's implemented in the client/server model which also supports attach/detach (like [[GNU Screen|GNU screen]]).
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)