A fault is the immediate cause of a failure. It might be e.g. an incorrect statement in a method. The execution of the faulty method might result in a failure at execution time.
A fault is distinct from a failure and an error.
A fault is the immediate cause of a failure. It might be e.g. an incorrect statement in a method. The execution of the faulty method might result in a failure of a program at execution time.
A definition can be found in IEEE Standard 610.12-1990 IEEE Standard Glossary of Software Engineering Terminology